public ReplyController(SportNewsDbContext context, IMapper mapper, IReplyService replyService, IPostService postService)
 {
     _context          = context;
     _mapper           = mapper;
     this.replyService = replyService;
     this.postService  = postService;
 }
Beispiel #2
0
 public NewsController(SportNewsDbContext context, IMapper mapper, IStandingService service, INewsService newsService, UserManager <User> userManager)
 {
     _context         = context;
     _mapper          = mapper;
     _service         = service;
     this.newsService = newsService;
     this.userManager = userManager;
 }
 public PostService(SportNewsDbContext context)
 {
     this.context = context;
 }
Beispiel #4
0
 public StandingService(SportNewsDbContext context)
 {
     _context = context;
 }
Beispiel #5
0
 public NewsService(SportNewsDbContext context, UserManager <User> userManager, IHttpContextAccessor accessor)
 {
     this.context     = context;
     this.userManager = userManager;
     this.accessor    = accessor;
 }
 public FixtureService(SportNewsDbContext context, IStandingService service)
 {
     this.context = context;
     this.service = service;
 }
Beispiel #7
0
 public ReplyService(SportNewsDbContext context)
 {
     this.context = context;
 }
 public FootbalService(SportNewsDbContext context)
 {
     this.context = context;
 }
Beispiel #9
0
 public PostsController(SportNewsDbContext context, UserManager <User> manager, IPostService postService)
 {
     _context         = context;
     this.manager     = manager;
     this.postService = postService;
 }
 public ForumService(SportNewsDbContext context)
 {
     this.context = context;
 }
Beispiel #11
0
 public AdminService(SportNewsDbContext context)
 {
     this.context = context;
 }