public AddressService(CollectionFactory collectionFactory) { _mongoCollection = collectionFactory.GetCollection <Address>("Addresses"); }
public ContactService(CollectionFactory collectionFactory) { _mongoCollection = collectionFactory.GetCollection <Contact>("Contacts"); }
public ProjectService(CollectionFactory collectionFactory, FileSystemService fileSystemService) { _mongoCollection = collectionFactory.GetCollection <Project>("Projects"); _fileSystemService = fileSystemService; }
public CompanyService(CollectionFactory collectionFactory) { _mongoCollection = collectionFactory.GetCollection <Company>("Companies"); }