public BarReviewsController(IBarServices barServices, IReviewServices reviewServices, IToastNotification toast) { _barServices = barServices; _reviewServices = reviewServices; _toast = toast; }
public TheatreController(IViewModelMapper <Theatre, TheatreViewModel> theatreVMmapper, ITheatreService theatreService, /* ILogger logger,*/ IReviewServices reviewService, ITheatreReviewServices trServices) { _theatreVMmapper = theatreVMmapper ?? throw new ArgumentNullException(nameof(theatreVMmapper)); _theatreService = theatreService ?? throw new ArgumentNullException(nameof(theatreService)); // _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _reviewService = reviewService ?? throw new ArgumentNullException(nameof(reviewService)); _trServices = trServices ?? throw new ArgumentNullException(nameof(trServices)); }
public CocktailReviewsController(ICocktailServices cocktailServices, IReviewServices reviewServices, IToastNotification toast) { _cocktailServices = cocktailServices; _reviewServices = reviewServices; _toast = toast; }
//private readonly ILogger _logger; public ReviewsController(UserManager <User> userManager, IReviewServices commentServices, IViewModelMapper <Review, ReviewViewModel> commentMapper /*, ILogger logger*/) { _userManager = userManager; _reviewServices = commentServices; _reviewMapper = commentMapper; //_logger = logger; }
public PublisherAdminController(IProductServices product, IPublisherServices publisher, IProductImageServices productImage, IReviewServices review, IOrderDetailServices orderDetail) { _product = product; _publisher = publisher; _productImage = productImage; _review = review; _orderDetail = orderDetail; }
public CategoryAdminController(IProductServices product, ICategoryServices category, IProductImageServices productImage, IReviewServices review, IOrderDetailServices orderDetail) { _product = product; _category = category; _productImage = productImage; _review = review; _orderDetail = orderDetail; }
public BarsController(IBarServices barServices, ICocktailServices cocktailServices, IReviewServices reviewServices, IToastNotification toast, INotificationServices notificationServices) { _barServices = barServices; _cocktailServices = cocktailServices; _reviewServices = reviewServices; _toast = toast; _notificationServices = notificationServices; }
//private readonly ILogger _logger; public TheatreController(ITheatreService theatreServices, ICommentServices commentServices, UserManager <User> userManager, IViewModelMapper <Theatre, TheatreViewModel> theatreViewModelMapper, /*ILogger logger,*/ IViewModelMapper <Comment, CommentViewModel> commentViewModelMapper, IReviewServices reviewServices, IViewModelMapper <Review, ReviewViewModel> reviewViewModelMapper, IViewModelMapper <SearchTheatre, TheatreViewModel> searchTheatreViewModelMapper /*ISearchServices searchServices*/) { _theatreServices = theatreServices ?? throw new ArgumentNullException(nameof(theatreServices)); _commentServices = commentServices ?? throw new ArgumentNullException(nameof(commentServices)); _userManager = userManager ?? throw new ArgumentNullException(nameof(_userManager)); _theatreViewModelMapper = theatreViewModelMapper ?? throw new ArgumentNullException(nameof(theatreViewModelMapper)); //_logger = logger ?? throw new ArgumentNullException(nameof(logger)); ; _commentViewModelMapper = commentViewModelMapper ?? throw new ArgumentNullException(nameof(commentViewModelMapper)); _reviewServices = reviewServices ?? throw new ArgumentNullException(nameof(reviewServices)); _reviewViewModelMapper = reviewViewModelMapper ?? throw new ArgumentNullException(nameof(reviewViewModelMapper)); _searchTheatreViewModelMapper = searchTheatreViewModelMapper ?? throw new ArgumentNullException(nameof(searchTheatreViewModelMapper)); //_searchServices = searchServices ?? throw new ArgumentNullException(nameof(searchServices)); }
public ReviewsController(IReviewServices services, UserManager <IdentityUser> userManager) { _services = services; _userManager = userManager; }
public ReviewAdminController(IReviewServices review) { _review = review; }
public ProductController(IProductServices product, ICategoryServices category, IReviewServices review) { _product = product; _category = category; _review = review; }
public ReviewAndRatingsController() { reviewServices = new ReviewServices(); }
public TcrServices(ReviewContext context) { Context = context; Reviews = new ReviewServices(this); }
public ReviewController() { _reviewServices = new ReviewServices(); }
public ReviewsController() { services = new ReviewServices(); }
public ReviewsController(IReviewServices reviewServices) { _reviewServices = reviewServices; }