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;
 }
Exemplo n.º 3
0
 public TopicController(ITopicRepository repository, IIntermediateCategoryRepository repositoryInter, Func <string> GetUserId)
 {
     this.repository      = repository;
     this.repositoryInter = repositoryInter;
     this.GetUserId       = GetUserId;
 }
Exemplo n.º 4
0
 public TopicController(ITopicRepository repository, IIntermediateCategoryRepository repositoryInter)
 {
     this.repository      = repository;
     this.repositoryInter = repositoryInter;
     GetUserId            = () => User.Identity.GetUserId();
 }