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; }
public CourseService(ConnectorDbContext _context) { context = _context; }
public UserCourseService(ConnectorDbContext context) { _context = context; }
public PostService(ConnectorDbContext _context) { context = _context; }
public UserCoursesController(ConnectorDbContext context) { _context = context; }
public EducationService(ConnectorDbContext _context) { context = _context; }
public ExperienceService(ConnectorDbContext _context) { context = _context; }
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)); }