public void ViewSchedules(IShowView <Schedule> inForm, IRepository <Schedule> scheduleRepository, IMainController controller) { IList <Schedule> employees = scheduleRepository.All().ToList(); inForm.ShowModal(controller, employees); }
public void ViewEmployees(IShowView <Employee> inForm, IRepository <Employee> employeeRepository, IMainController controller) { IList <Employee> employees = employeeRepository.All().ToList(); inForm.ShowModal(controller, employees); }
public void ShowAds(IShowView <Ad> inForm, IRepository <Ad> adRepository, IMainController controller) { IList <Ad> ads = adRepository.All().ToList(); inForm.ShowModal(controller, ads); }
public void ViewVideoWalls(IShowView <VideoWall> inForm, IRepository <VideoWall> videoWallRepository, IMainController controller) { IList <VideoWall> videoWalls = videoWallRepository.All().ToList(); inForm.ShowModal(controller, videoWalls); }