//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)); } }