コード例 #1
0
 public FilmsController(IFilmDataBusiness filmDataBusiness,
                        IFilmBusiness filmBusiness,
                        IFilmReviewBusiness reviewBusiness,
                        UserManager <CinemaUser> userManager,
                        IMapper mapper,
                        IFilmFetchAPI filmFetchApi,
                        ICloudinaryAPI cloudinaryAPI)
 {
     this.filmDataBusiness = filmDataBusiness;
     this.filmBusiness     = filmBusiness;
     this.reviewBusiness   = reviewBusiness;
     this.userManager      = userManager;
     this.mapper           = mapper;
     this.filmFetchApi     = filmFetchApi;
     this.cloudinaryAPI    = cloudinaryAPI;
 }
コード例 #2
0
 public FilmsController(IFilmDataBusiness filmDataBusiness, IFilmReviewBusiness filmReviewBusiness)
 {
     this.filmDataBusiness   = filmDataBusiness;
     this.filmReviewBusiness = filmReviewBusiness;
 }