public IActionResult LeaveChangeTime(LeaveOpViewModel model) { var leave = new LeaveHelper(model); leave.dt3_ValueChanged(); return(Json(leave)); }
public IList <PermissionDetailsModel> GetOverTimePermissionDetail(Int64?paramUserId, string reqUsr, DateTime?startDate, DateTime?endDate, bool OnlyReportedToMe, Int64 LeadId) { using (ILeaveHelper helper = new LeaveHelper()) { return(helper.GetOverTimePermissionDetail(paramUserId, reqUsr, startDate, endDate, OnlyReportedToMe, LeadId)); } }
public string SaveLeaveRequest(LeaveRequestModel request) { using (ILeaveHelper helper = new LeaveHelper()) { return(helper.SaveLeaveRequest(request)); } }
public IList <LeaveSummary> GetLeaveSumary(long UserId, Int32 summaryYear) { using (ILeaveHelper helper = new LeaveHelper()) { return(helper.GetLeaveSumary(UserId, summaryYear)); } }
public DashBoardModel GetDashboardData(Int64 UserId, Int64 OfficeId) { using (ILeaveHelper helper = new LeaveHelper()) { return(helper.GetDashboardData(UserId, OfficeId)); } }
public IList <TeamLeaves> GetLeaveRequests(ManageTeamLeavesQueryModel qryMdl) { using (ILeaveHelper helper = new LeaveHelper()) { return(helper.GetLeaveRequests(qryMdl)); } }
public List <DropDownItem> GetYearsFromLeaveBalance() { using (ILeaveHelper helper = new LeaveHelper()) { return(helper.GetYearsFromLeaveBalance()); } }
public int GetPendingApprovalCount(Int64 userId) { using (ILeaveHelper helper = new LeaveHelper()) { return(helper.GetPendingApprovalCount(userId)); } }
public EmailDataModel GetEmailData(Int64 leaveId, string actionName) { using (ILeaveHelper helper = new LeaveHelper()) { return(helper.GetEmailData(leaveId, actionName)); } }
public IList <DaywiseLeaveDtlModel> GetDaywiseLeaveDtl(DateTime?FromDate, DateTime?ToDate, bool IsLeaveOnly, Int64 LeadId, bool OnlyReportedToMe, Int64?paramUserId, string reqUsr, bool DonotShowRejected) { using (ILeaveHelper helper = new LeaveHelper()) { return(helper.GetDaywiseLeaveDtl(FromDate, ToDate, IsLeaveOnly, LeadId, OnlyReportedToMe, paramUserId, reqUsr, DonotShowRejected)); } }
public IList <EmployeeList> GetEmployeeList(string param, Int64 userId) { using (ILeaveHelper helper = new LeaveHelper()) { return(helper.GetEmployeeList(param, userId)); } }
public IList <EmployeeWiseLeaveSummaryModel> GetEmployeeWiseLeaveSumary(Int64 UserId, int Year, string reqUsr, Int64?paramUserId, bool OnlyReportedToMe) { using (ILeaveHelper helper = new LeaveHelper()) { return(helper.GetEmployeeWiseLeaveSumary(UserId, Year, reqUsr, paramUserId, OnlyReportedToMe)); } }
public int GetHolidayCount(DateTime startDate, DateTime endDate, long UserId) { using (ILeaveHelper helper = new LeaveHelper()) { return(helper.GetHolidayCount(startDate, endDate, UserId)); } }
public IList <HolidayModel> GetHolidaysDetails(long UserId, Int32 holYear, ref bool previousYear, ref bool nextYear) { using (ILeaveHelper helper = new LeaveHelper()) { return(helper.GetHolidaysDetails(UserId, holYear, ref previousYear, ref nextYear)); } }
public IList <HolidayModel> GetHolidays(long UserId, Int32 holYear) { using (ILeaveHelper helper = new LeaveHelper()) { return(helper.GetHolidays(UserId, holYear)); } }
public string ChangeStatus(LeaveStatusModel status) { using (ILeaveHelper helper = new LeaveHelper()) { return(helper.ChangeStatus(status)); } }
public LeaveRequestModel ApplyLeaveCommonData(Int64 UserId, Int64 OfficeId) { using (ILeaveHelper helper = new LeaveHelper()) { return(helper.ApplyLeaveCommonData(UserId, OfficeId)); } }
public IList <MonthwiseLeavesCountModel> GetMonthwiseLeavesCount(Int32 year, Int64 LeadId, bool OnlyReportedToMe, Int64?paramUserId, string reqUsr) { using (ILeaveHelper helper = new LeaveHelper()) { return(helper.GetMonthwiseLeavesCount(year, LeadId, OnlyReportedToMe, paramUserId, reqUsr)); } }
public IList <LeaveDetailModel> ShowLeaveDetail(Int64 LeaveId) { using (ILeaveHelper helper = new LeaveHelper()) { return(helper.ShowLeaveDetail(LeaveId)); } }
public IList <LeaveDtl> GetLeaveDetailCalculation(DateTime LeaveFrom, DateTime LeaveUpto, string LeaveFromTime, string LeaveUptoTime, Int64 UserId, Int64 LeaveTypText) { using (ILeaveHelper helper = new LeaveHelper()) { return(helper.GetLeaveDetailCalculation(LeaveFrom, LeaveUpto, LeaveFromTime, LeaveUptoTime, UserId, LeaveTypText)); } }
public List <TimeSheetModel> GetMyTeamTimeSheet(Int64 UserID) { using (ILeaveHelper helper = new LeaveHelper()) { return(helper.GetMyTeamTimeSheet(UserID)); } }
public decimal ReturnDuration(DateTime LeaveFrom, DateTime LeaveUpto, string LeaveFromTime, string LeaveUptoTime, Int64 UserId) { using (ILeaveHelper helper = new LeaveHelper()) { return(helper.ReturnDuration(LeaveFrom, LeaveUpto, LeaveFromTime, LeaveUptoTime, UserId)); } }
//public string ChangeStatusFromEmail(Int64 leaveId, Int64 userId, string action) //{ // using (ILeaveHelper helper = new LeaveHelper()) // { // return helper.ChangeStatusFromEmail(leaveId, userId, action); // } //} public EmailDataModel ViewLeaveFromEmail(Int64 leaveId, Int64 userId) { using (ILeaveHelper helper = new LeaveHelper()) { return(helper.ViewLeaveFromEmail(leaveId, userId)); } }
public string ReturnWeekOff(long UserId) { using (ILeaveHelper helper = new LeaveHelper()) { return(helper.ReturnWeekOff(UserId)); } }
public EmailDataModel GetEmailDataAddLeave(Int64 userID, Int64?leaveTypeID) { using (ILeaveHelper helper = new LeaveHelper()) { return(helper.GetEmailDataAddLeave(userID, leaveTypeID)); } }
public IActionResult LeaveChangeShift(LeaveOpViewModel model) { var leave = new LeaveHelper(model); leave.cb1_SelectedValueChanged(); return(Json(leave)); }
//public List<LeaveItem> GetMyLeaveRequests(long UserId) //{ // using (ILeaveHelper helper = new LeaveHelper()) // { // return helper.GetMyLeaveRequests(UserId); // } //} public List <LeaveTypesModel> GetLeaveTypes(long OfficeId, Int64 userId) { using (ILeaveHelper helper = new LeaveHelper()) { return(helper.GetLeaveTypes(OfficeId, userId)); } }
public IList <DropDownItem> GetWeekOffs(long UserId) { using (ILeaveHelper helper = new LeaveHelper()) { return(helper.GetWeekOffs(UserId)); } }
public IActionResult LeaveUpdate(LeaveOpViewModel model) { //var m = new LeaveOpViewModel() { ucLeave = new UCLeaveViewModel(), EmpId = EmpId }; //return View(m); var leave = new LeaveHelper(model); leave.Leave_Update(); return(Json(leave)); }
public async Task <IActionResult> LeaveDelete(string EmpId, int SeqNo) { //var m = new LeaveOpViewModel() { ucLeave = new UCLeaveViewModel(), EmpId = EmpId }; //return View(m); //var leave = new LeaveHelper(model); //leave.Leave_Insert(); //return Json(leave); var leave = new LeaveHelper(); var l = await _context.Tblleave.Where(x => x.EmpId == EmpId && x.SeqNo == SeqNo).FirstOrDefaultAsync(); leave.LeaveDelete(l); return(Json(leave)); }