Exemplo n.º 1
0
 public DiaryController(IMapper mapper, IDiary <Diary> service)
 {
     _service = new DiaryService <DiaryData>(service, mapper);
 }
Exemplo n.º 2
0
 public DiaryController(IHubContext <MainHub> h, IDiary d)
 {
     _diaryRepo = d;
     this.hub   = h;
 }
Exemplo n.º 3
0
 public HomeController(IDiary diaryStore)
 {
     _diaryStore = diaryStore;
 }
Exemplo n.º 4
0
 public DiaryService(IDiary <Diary> repository, IMapper mapper)
 {
     _repository = repository;
     _mapper     = mapper;
 }