From cddaf2f709760b4bad9e12c28c2d7cc26aa1776d Mon Sep 17 00:00:00 2001 From: SamSys Date: Sat, 27 Dec 2025 16:58:36 +0330 Subject: [PATCH] changes --- .../Client/Controllers/LeaveController.cs | 23 +++++++++++-------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/ServiceHost/Areas/Client/Controllers/LeaveController.cs b/ServiceHost/Areas/Client/Controllers/LeaveController.cs index 7c6314a6..53dd1aca 100644 --- a/ServiceHost/Areas/Client/Controllers/LeaveController.cs +++ b/ServiceHost/Areas/Client/Controllers/LeaveController.cs @@ -48,16 +48,16 @@ public class LeaveController : ClientBaseController return Ok(result); } - /// - /// چک کردن تاریخ شروع مرخصی - /// - /// - /// - [HttpGet("CheckIsInvalidLeave")] - public async Task> CheckIsInvalidLeave(string startLeaveDate) - { - return await _leaveApplication.CheckIsInvalidLeave(startLeaveDate, _workshopId); - } + ///// + ///// چک کردن تاریخ شروع مرخصی + ///// + ///// + ///// + //[HttpGet("CheckIsInvalidLeave")] + //public async Task> CheckIsInvalidLeave(string startLeaveDate) + //{ + // return await _leaveApplication.CheckIsInvalidLeave(startLeaveDate, _workshopId); + //} /// /// ایجاد مرخصی @@ -76,6 +76,7 @@ public class LeaveController : ClientBaseController /// /// دریافت شیفت گردشی اگر داشت + /// در مودال ایجاد /// /// /// @@ -89,6 +90,7 @@ public class LeaveController : ClientBaseController /// /// محاسبه مدت مرخصی ساعتی + /// در مودال ایجاد /// /// /// @@ -102,6 +104,7 @@ public class LeaveController : ClientBaseController /// /// محاسبه مدت مرخصی روزانه + /// در مودال ایجاد /// /// ///