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

            return(View(EmpBalances));
        }
Exemplo n.º 2
0
 public IEnumerable <LeaveBalance> GetEmployeeLeaveBalance(LeaveBalance leaveBalance)
 {
     return(_repo.GetEmployeeLeaveBalance(leaveBalance));
 }