Exemple #1
0
 public LogViewModel(ILogRepository logRepository, ISeverityRepository severityRepository,
                     IPodRepository podRepository
                     )
 {
     _logRepository      = logRepository;
     _severityRepository = severityRepository;
     _podRepository      = podRepository;
     LoadData();
 }
 public SeveritiesController()
 {
     this.severityRepo = new SeveritiesRepository(new PlusBContext());
 }
 public NoteService(INoteRepository noteRepository, ISeverityRepository severityRepository, IMapper mapper)
 {
     _noteRepository     = noteRepository;
     _severityRepository = severityRepository;
     _mapper             = mapper;
 }
 public SeverityController(ISeverityRepository severityRepository)
 {
     this.severityRepository = severityRepository;
 }
Exemple #5
0
 public SeverityService(ISeverityRepository repo, IMapper mapper)
 {
     _repo   = repo;
     _mapper = mapper;
 }
 public SeverityService(ISeverityRepository db)
 {
     this.db = db;
 }
Exemple #7
0
 public DataAccess(ITaskRepository tasks, ITaskCategoryRepository taskCategories, ISeverityRepository severities)
 {
     Tasks          = tasks;
     TaskCategories = taskCategories;
     Severities     = severities;
 }