public LeavesTotal GetTotalLeavesForYearByEmployeeId(int employee_id, int year) { if (employee_id == 0) { return(null); } return(repo.GetTotalLeavesForYearByEmployeeId(employee_id, year)); }