public WashClothesService(IWashSessionFactory washSessionFactory, IWashSessionRepository washSessionRepository,
     IDateTimeProvider dateTimeProvider)
 {
     _washSessionFactory = washSessionFactory;
     _washSessionRepository = washSessionRepository;
     _dateTimeProvider = dateTimeProvider;
 }
        public MongoDbUnitOfWork(string connectionString)
        {
            var clothesDbContext = new ClothesDbContext(connectionString);

            ClothesRepository = new ClothesMongoDbRepository(clothesDbContext);
            OutfitRepository = new OutfitMongoDbRepository(clothesDbContext, ClothesRepository);
            WashSessionRepository = new WashSessionMongoDbRepository(clothesDbContext, ClothesRepository);
        }