public SurveyRepository(ViridianSurveyContext context) : base(context)
 {
 }
 public QuestionRepository(ViridianSurveyContext context) : base(context)
 {
 }
Exemplo n.º 3
0
 public UnitOfWork(ViridianSurveyContext viridianSurveyContext)
 {
     context   = viridianSurveyContext;
     Surveys   = new SurveyRepository(context);
     Questions = new QuestionRepository(context);
 }