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