Exemple #1
0
        public ActionResult GetEmployeeBalances()
        {
            Employee emp         = (Employee)Session["Employee"];
            var      EmpBalances = leaveRepository.GetEmployeeLeaveBalance(emp.ID);

            return(View(EmpBalances));
        }
Exemple #2
0
 public IEnumerable <LeaveBalance> GetEmployeeLeaveBalance(LeaveBalance leaveBalance)
 {
     return(_repo.GetEmployeeLeaveBalance(leaveBalance));
 }