public PartnerDomain(IHelpetDBSettings dbSettings, IGooglePlaces googlePlaces, IPartnerCategoryDomain partnerCategoryDomain, IFilesDomain filesDomain)
        {
            var client   = new MongoClient(dbSettings.ConnectionString);
            var database = client.GetDatabase(dbSettings.DatabaseName);

            _collection = database.GetCollection <PartnerModel>(dbSettings.PartnersCollectionName);
            _entityName = dbSettings.PartnersCollectionName;

            _googlePlaces = googlePlaces;

            _partnerCategoryDomain = partnerCategoryDomain;
            _filesDomain           = filesDomain;
        }
 public FilesController(IFilesDomain filesDomain)
 {
     _filesDomain = filesDomain;
 }