Exemplo n.º 1
0
 public SettingMsController()
 {
     db               = new CloudControlEntities();
     adminsService    = new AdminsService(db);
     limsService      = new LimsService(db);
     adminlimsService = new AdminLimsService(db);
 }
Exemplo n.º 2
0
        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();
 }
Exemplo n.º 4
0
 protected ViewModelBase(LimsService state)
 {
     _service = state;
 }
Exemplo n.º 5
0
 public BaseController()
 {
     limsService = new LimsService();
 }