public SqlUnitOfWork() { _clothesWashingContext = new ClothesWashingContext(); ClothesRepository = new ClothesSqlRepository(_clothesWashingContext); OutfitRepository = new OutfitSqlRepository(_clothesWashingContext); WashSessionRepository = new WashSessionSqlRepository(_clothesWashingContext); }
public WashSessionSqlRepository(ClothesWashingContext context) { _context = context; }
public OutfitSqlRepository(ClothesWashingContext context) { _context = context; }