public NewsController(INewsService newsService, IMapper mapper, ICategoriService categoriService, ICommentService commentService, EFContext eFContext, IUserService usertService) { _commentService = commentService; _categoriService = categoriService; _newsService = newsService; _mapper = mapper; _eFContext = eFContext; _usertService = usertService; }
public CategorieController(ICategoriService categoriService, IMapper mapper) { _categoriService = categoriService; _mapper = mapper; }
public CategoriesController(ICategoriService categoriService) { _categoriService = categoriService; }