示例#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;
 }
示例#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;
 }