Exemplo n.º 1
0
 public SubmissionsService(SifflContext dbContext, IMapper mapper, IUsersService usersService, IUpvotesService upvotesService)
 {
     _dbContext      = dbContext;
     _mapper         = mapper;
     _usersService   = usersService;
     _upvotesService = upvotesService;
 }
Exemplo n.º 2
0
 public CommentsService(SifflContext dbContext, IMapper mapper, IUsersService usersService, IUpvotesService upvotesService)
 {
     this._dbContext      = dbContext;
     this._mapper         = mapper;
     this._usersService   = usersService;
     this._upvotesService = upvotesService;
 }
 public SubmissionsController(ISubmissionsService service, IUpvotesService upvotesService)
 {
     _service        = service;
     _upvotesService = upvotesService;
 }
Exemplo n.º 4
0
 public CommentsController(ICommentsService service, IUpvotesService upvotesService)
 {
     this._service        = service;
     this._upvotesService = upvotesService;
 }