public ProjectsController(SpartaDBContext context) { _context = context; }
public ConsultantsController(SpartaDBContext context) { _context = context; }
public TrainersController(SpartaDBContext context) { _context = context; }
public CoursesController(SpartaDBContext context) { _context = context; }
public CategoriesController(SpartaDBContext context, ICategoryRepo categoryRepo, IMapper mapper) { _mapper = mapper; _categoryRepo = categoryRepo; _context = context; }
public StudentRepo(SpartaDBContext context) { _context = context ?? throw new ArgumentNullException(nameof(context)); }
public StudentsController(SpartaDBContext context, IStudentRepo studentRepo, IMapper mapper) { _context = context; _studentRepo = studentRepo; _mapper = mapper; }