public AdminController(ITopicRepository repository, IIntermediateCategoryRepository repositoryInter, IMainCategoryByCitiesRepository repositoryMain)
 {
     this.repository      = repository;
     this.repositoryInter = repositoryInter;
     this.repositoryMain  = repositoryMain;
     GetUserId            = () => User.Identity.GetUserId();
 }
 public HomeController(IMainCategoryByCitiesRepository repository, IIntermediateCategoryRepository repositoryIntermediate)
 {
     this.repository             = repository;
     this.repositoryIntermediate = repositoryIntermediate;
 }
Пример #3
0
 public TopicController(ITopicRepository repository, IIntermediateCategoryRepository repositoryInter, Func <string> GetUserId)
 {
     this.repository      = repository;
     this.repositoryInter = repositoryInter;
     this.GetUserId       = GetUserId;
 }
Пример #4
0
 public TopicController(ITopicRepository repository, IIntermediateCategoryRepository repositoryInter)
 {
     this.repository      = repository;
     this.repositoryInter = repositoryInter;
     GetUserId            = () => User.Identity.GetUserId();
 }