Пример #1
0
        public MovieController(IMovieService movieService, IMovieCommentService movieCommentService, IMapper mapper)
        {
            _movieService = movieService;

            _movieCommentService = movieCommentService;
            _mapper = mapper;
        }
Пример #2
0
 public DefaultServiceManager(ICache cache, ILogService logService,
                              IEncryptionProvider encryptionProvider,
                              IDiaryService diaryService,
                              IDiaryCommentService diaryCommentService,
                              IMovieCommentService movieCommentService,
                              IAccountService accountService)
 {
     this._cache               = cache;
     this._autoBox             = null;
     this._logService          = logService;
     this._encryptionProvider  = encryptionProvider;
     this._diaryService        = diaryService;
     this._diaryCommentService = diaryCommentService;
     this._movieCommentService = movieCommentService;
     this._accountService      = accountService;
 }
Пример #3
0
 public MoviesCommentsController(IMovieCommentService movieCommentService)
 {
     _movieCommentService = movieCommentService;
 }
 public MovieCommentController(IMovieCommentService service) : base(service)
 {
     this._movieCommentService = service;
 }
Пример #5
0
 public MovieCommentController(IMovieCommentService movieCommentService)
 {
     MovieCommentService = movieCommentService;
 }