public AuthRepo(SDMSContext context, IConfiguration config) { this._context = context; this._config = config; }
private readonly SDMSContext _context; // TODO delete public AuthController(IAuthRepo repo, ICoursesRepo cRepo, SDMSContext context) { this._repo = repo; this._cRepo = cRepo; this._context = context; // TODO delete }
public TeachersRepo(SDMSContext context, IConfiguration config) { this._context = context; this._config = config; }
public CoursesRepo(SDMSContext _context, IConfiguration config) { this._context = _context; this._config = config; }
public StudentsRepo(SDMSContext context, IConfiguration config) { this._context = context; this._config = config; }