public SettingMsController() { db = new CloudControlEntities(); adminsService = new AdminsService(db); limsService = new LimsService(db); adminlimsService = new AdminLimsService(db); }
public ViewModelLocator() { var state = new LimsService(); LoginUrl = new LoginUrlViewModel(state); Recipe = new GetRecipeViewModel(state); LoginPage = new LoginPageViewModel(state); Metrics = new MetricsViewModel(state); ProgressUpdate = new ProgressUpdateViewModel(state); RunAll = new RunAllViewModel(state); Samplesheet = new SamplesheetViewModel(state); Main = new MainViewModel(state, LoginUrl, Recipe, LoginPage, Metrics, ProgressUpdate, RunAll, Samplesheet); }
public CheckSessionAttribute() { limsService = new LimsService(); adminlimsService = new AdminLimsService(); }
protected ViewModelBase(LimsService state) { _service = state; }
public BaseController() { limsService = new LimsService(); }