Exemplo n.º 1
0
 public CrawlController(IRatingFactory ratingFactory, IProductFactory productFactory)
 {
     _ratingFactory  = ratingFactory;
     _productFactory = productFactory;
 }
Exemplo n.º 2
0
 public MoviesController(IMovieFactory movieFactory, IRatingFactory ratingFactory)
 {
     _movieFactory  = movieFactory;
     _ratingFactory = ratingFactory;
 }
Exemplo n.º 3
0
 public RatingService(IGenericRepository <Rating> repository, IUnitOfWork unitOfWork, IRatingFactory ratingFactory)
     : base(repository, unitOfWork)
 {
     Guard.WhenArgument(ratingFactory, nameof(ratingFactory)).IsNull().Throw();
     this.raitingFacgory = ratingFactory;
 }
Exemplo n.º 4
0
 public RatingsController(IRatingFactory ratingFactory, IMovieFactory movieFactory, IUserFactory userFactory)
 {
     _ratingFactory = ratingFactory;
     _movieFactory  = movieFactory;
     _userFactory   = userFactory;
 }