public CalculatorAppContext(ODSContext oDSContext, ApiMemoryCache memoryCache, IHttpContextAccessor contextAccessor, IOptions <AppConfiguration> appConfiguration, IStudentDataRepository dataRepository, IGradingScaleRepository gradingScaleRepository) { MemoryCache = memoryCache.Cache; ODSContext = oDSContext; UserContext = contextAccessor; AppConfiguration = appConfiguration; StudentDataRepository = dataRepository; GradingScaleRepository = gradingScaleRepository; }
public HomeController() : base() { this.StudentDataRepository = new StudentDataRepository(); }
public StudentDataRepositoryTest() { _studentDataRepository = A.Fake <IStudentDataRepository>(); _studentData = new Student_Services.StudentData(_studentDataRepository); }
public StudentData(IStudentDataRepository studentDataRepository) { _studentDataRepository = studentDataRepository; }