public PostsController(QuoteBookDbContext context, UserManager <User> userManager, ICategoryService categoryService, IInspiratorService inspiratorService, IPostsService postsService) { this.context = context; this.userManager = userManager; this.categoryservice = categoryService; this.inspiratorService = inspiratorService; this.postsService = postsService; }
public InspiratorsController(QuoteBookDbContext context, IInspiratorService inspiratorService) { _context = context; this.inspiratorService = inspiratorService; }