public HomeController(DataManager dataManager)
 {
     _dataManager = dataManager;
 }
 protected override IController GetControllerInstance(RequestContext requestContext, Type controllerType)
 {
     string connectionString = ConfigurationManager.ConnectionStrings["ApplicationServices"].ConnectionString;
     DataManager dataManager = new DataManager(new TimetableDataContext());
     return Activator.CreateInstance(controllerType, dataManager) as IController;
 }
 public ProcessingTimetable(DataManager dataManager)
 {
     tametableRepository = dataManager.TimetableManager;
 }
 public TimeTableController(DataManager dataManager)
 {
     _dataManager = dataManager;
 }
 public AccountController(DataManager dataManager)
 {
     _dataManager = dataManager;
 }
 public StudentController(DataManager dataManager)
 {
     _dataManager = dataManager;
 }