public AppController(Model.AppContext model, ViewInterface view) { this.view = view; this.model = model; manageUser = new ManageUsers(model, view); manageCars = new ManageCars(model, view); manageReservation = new ManageReservation(model, view); view.SetController(this); view.GetCarData(); startApp(); }
public ManageReservation(Model.AppContext model, ViewInterface view) { this.model = model; this.view = view; }
public ManageCars(Model.AppContext model, ViewInterface view) { this.model = model; this.view = view; }
public BaseRepository() { context = Model.AppContext.Create(); }
public Repository(Model.AppContext context) { this.context = context; }