public IAllReadyDataAccess CreateSutAndPopulateTestDataForEventSignup() { var allReadyContext = _serviceProvider.GetService <AllReadyContext>(); var allReadyDataAccess = new AllReadyDataAccessEF7(allReadyContext); PopulateDataForEventSignup(allReadyContext); return(allReadyDataAccess); }
private ActivityApiController GetActivityController() { var allReadyContext = _serviceProvider.GetService <AllReadyContext>(); var allReadyDataAccess = new AllReadyDataAccessEF7(allReadyContext); var controller = new ActivityApiController(allReadyDataAccess); PopulateData(allReadyContext); return(controller); }