public MongoDbUnitOfWork(string connectionString)
        {
            var clothesDbContext = new ClothesDbContext(connectionString);

            ClothesRepository = new ClothesMongoDbRepository(clothesDbContext);
            OutfitRepository = new OutfitMongoDbRepository(clothesDbContext, ClothesRepository);
            WashSessionRepository = new WashSessionMongoDbRepository(clothesDbContext, ClothesRepository);
        }
 public ClothesMongoDbRepository(ClothesDbContext clothesDbContext)
 {
     _clothingArticles = clothesDbContext.ClothingArticles;
 }
 public WashSessionMongoDbRepository(ClothesDbContext context, IClothesRepository clothesRepository)
 {
     _clothesRepository = clothesRepository;
     _washSessions = context.WashSessions;
 }
 public OutfitMongoDbRepository(ClothesDbContext context, IClothesRepository clothesRepository)
 {
     _clothesRepository = clothesRepository;
     _outfits = context.Outfits;
 }