public ActionResult GetWageReportAdvance(DateTime?startDate, DateTime?endDate)
 {
     using (DBAgent.DBAgent agent = new DBAgent.DBAgent())
     {
         ViewBag.wages = agent.GetWageReportAdvance(startDate, endDate);
     }
     return(View());
 }
 public ActionResult GetWageReportAdvance()
 {
     using (DBAgent.DBAgent agent = new DBAgent.DBAgent())
     {
         ViewBag.wages = agent.GetWageReportAdvance(null, null);
     }
     return(View());
 }