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