public List <NoOfLateInMonth> GetLateReport(Int64 UserID, DateTime FromDate, DateTime ToDate, bool myDirectEmployees) { using (var dac = new ReportDac()) { return(dac.GetLateReport(UserID, FromDate, ToDate, myDirectEmployees)); } }
public List <lateAndEarlyRpt> GetLateAndEarlyEmployees(DateTime FromDate, DateTime ToDate, Int64 UserId, bool OnlyReportedToMe) { using (var dac = new ReportDac()) { return(dac.GetLateAndEarlyEmployees(FromDate, ToDate, UserId, OnlyReportedToMe)); } }