// GET: ListCustomerSchedule public ActionResult Index() { var repo = new CustomersScheduleRepository(); var listSche = repo.GetCustomersScheduleList(); return(View(listSche)); }
public ActionResult ListOneoffSchedule(FormCustomerScheduleViewModel model) { //var test = model.StartDate; var repo = new CustomersScheduleRepository(); var listOneoff = repo.GetOneoffSchedule(model.StartDate); return(View(listOneoff)); }