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;
 }
Example #2
0
 public CategorieController(ICategoriService categoriService, IMapper mapper)
 {
     _categoriService = categoriService;
     _mapper          = mapper;
 }
Example #3
0
 public CategoriesController(ICategoriService categoriService)
 {
     _categoriService = categoriService;
 }