Ejemplo n.º 1
0
 public AdminController(IRestarauntRepository restRepository, IRestarauntLangRepository restLangRepository,
                         ICommentRepository commentRepository, IImageRepository imageRepository, IUserRepository userRepository,
                         ILanguageRepository langRepository, IWorkWithDBProvider workWithDBProvider)
 {
     this.restRepository = restRepository;
     this.restLangRepository = restLangRepository;
     this.commentRepository = commentRepository;
     this.imageRepository = imageRepository;
     this.userRepository = userRepository;
     this.langRepository = langRepository;
     this.workWithDBProvider = workWithDBProvider;
 }
Ejemplo n.º 2
0
 public HomeController(IRestarauntRepository restRepository, IRestarauntLangRepository restLangRepository,
                       ICommentRepository commentRepository, IImageRepository imageRepository, IUserRepository userRepository,
                       ILanguageRepository langRepository, IWorkWithDBProvider workWithDBProvider)
 {
     this.restRepository     = restRepository;
     this.restLangRepository = restLangRepository;
     this.commentRepository  = commentRepository;
     this.imageRepository    = imageRepository;
     this.userRepository     = userRepository;
     this.langRepository     = langRepository;
     this.workWithDBProvider = workWithDBProvider;
 }