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