public IEnumerable <LeaveDetail> GetLeaves()
 {
     return(objLeaveDAL.GetLeaves());
 }