public CommentController(ICommentMapper commentMapper, IImageAlbumService imageAlbumService, ICommentService commentService, IMembershipService membershipService) { this._commentMapper = commentMapper; this._imageAlbumService = imageAlbumService; this._commentService = commentService; this._membershipService = membershipService; }
public CommentController( ICommentMapper commentMapper, IAddEntityCommand addEntityCommand, ICommentControllerValidator validator) { this.commentMapper = commentMapper; this.addEntityCommand = addEntityCommand; this.validator = validator; }
public UserCommentService( IRedditCloneUnitOfWork unitOfWork, UserManager <User> userManager, ICommentMapper commentMapper) { this.unitOfWork = unitOfWork; this.userManager = userManager; this.commentMapper = commentMapper; }
public CommentService(PizzeriaContext context, IPizzaService pizzaService, ICommentMapper commentMapper) : base(context) { _context = context; _commentMapper = commentMapper; _pizzaService = pizzaService; }
public CommentService(ICommentRepository repository, ICommentMapper mapper) : base(repository) { _repository = repository; _mapper = mapper; }
public PizzaMapper(ICommentMapper commentMapper, IIngredientMapper ingredientMapper) { _commentMapper = commentMapper; _ingredientMapper = ingredientMapper; }