コード例 #1
0
 public ArticlesController(
     IArticlesService articlesService,
     IFilesService filesService,
     IStarsService starsService)
 {
     this.articlesService = articlesService;
     this.filesService    = filesService;
     this.starsService    = starsService;
 }
コード例 #2
0
 public EditsService(
     IDeletableEntityRepository <Edit> editRepository,
     IDeletableEntityRepository <Category> categoryRepository,
     IDeletableEntityRepository <Article> articleRepository,
     IDiffMatchPatchService diffMatchPatchService,
     IFollowsService followsService,
     IStarsService starsService)
 {
     this.editRepository        = editRepository;
     this.categoryRepository    = categoryRepository;
     this.articleRepository     = articleRepository;
     this.diffMatchPatchService = diffMatchPatchService;
     this.followsService        = followsService;
     this.starsService          = starsService;
 }
コード例 #3
0
 public HotelsController(
     UserManager <ApplicationUser> userManager,
     IHotelsService hotelsService,
     ICitiesService citiesService,
     IStarsService starsService,
     IRoomsService roomsService,
     SignInManager <ApplicationUser> signInManager)
 {
     this.userManager   = userManager;
     this.hotelsService = hotelsService;
     this.citiesService = citiesService;
     this.starsService  = starsService;
     this.roomsService  = roomsService;
     this.signInManager = signInManager;
 }