public UserService(ConnectorDbContext _context, IOptions <AppSettings> appSettings)
 {
     context      = _context;
     _appSettings = appSettings.Value;
 }
 public UsersController(IUserInterface _repo, IMapper _mapper, ConnectorDbContext context)
 {
     repo     = _repo ?? throw new ArgumentNullException(nameof(_repo));
     mapper   = _mapper ?? throw new ArgumentNullException(nameof(_mapper));
     _context = context;
 }
Esempio n. 3
0
 public CourseService(ConnectorDbContext _context)
 {
     context = _context;
 }
 public UserCourseService(ConnectorDbContext context)
 {
     _context = context;
 }
Esempio n. 5
0
 public PostService(ConnectorDbContext _context)
 {
     context = _context;
 }
Esempio n. 6
0
 public UserCoursesController(ConnectorDbContext context)
 {
     _context = context;
 }
 public EducationService(ConnectorDbContext _context)
 {
     context = _context;
 }
Esempio n. 8
0
 public ExperienceService(ConnectorDbContext _context)
 {
     context = _context;
 }
Esempio n. 9
0
 public PostController(IPostInterface _repository, IMapper _mapper, ConnectorDbContext _context)
 {
     mapper     = _mapper ?? throw new ArgumentNullException(nameof(_mapper));
     repository = _repository ?? throw new ArgumentNullException(nameof(_repository));
     context    = _context ?? throw new ArgumentNullException(nameof(_context));
 }