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