Пример #1
0
 public AuthService(IConfiguration configuration, UserService userService,
                    DumkaDbContext dbContext)
 {
     _configuration = configuration;
     _userService   = userService;
     _dbContext     = dbContext;
 }
 public ProposalsController(DumkaDbContext context, AuthService authService,
                            ProposalService proposalService, IMapper mapper)
 {
     _context         = context;
     _authService     = authService;
     _proposalService = proposalService;
     _mapper          = mapper;
 }
Пример #3
0
 public UsersController(DumkaDbContext context, IConfiguration configuration,
                        AuthService authService, IMapper mapper)
 {
     _context       = context;
     _configuration = configuration;
     _authService   = authService;
     _mapper        = mapper;
 }
 public ProposalService(DumkaDbContext dbContext, IMapper mapper)
 {
     _dbContext = dbContext;
     _mapper    = mapper;
 }
Пример #5
0
 public SchoolsController(DumkaDbContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
Пример #6
0
 public UserService(DumkaDbContext dbContext)
 {
     _dbContext = dbContext;
 }
 public CommentsController(DumkaDbContext context)
 {
     _context = context;
 }