public IAllReadyDataAccess CreateSutAndPopulateTestDataForEventSignup()
        {
            var allReadyContext    = _serviceProvider.GetService <AllReadyContext>();
            var allReadyDataAccess = new AllReadyDataAccessEF7(allReadyContext);

            PopulateDataForEventSignup(allReadyContext);
            return(allReadyDataAccess);
        }
示例#2
0
        private ActivityApiController GetActivityController()
        {
            var allReadyContext    = _serviceProvider.GetService <AllReadyContext>();
            var allReadyDataAccess = new AllReadyDataAccessEF7(allReadyContext);
            var controller         = new ActivityApiController(allReadyDataAccess);

            PopulateData(allReadyContext);
            return(controller);
        }