public PersonStorageService(IPersonXmlRepository xmlRepository, IRepository <StaplesAppDAL.Models.Person> dbRepository,
                             IPersonLogRepository logRepository)
 {
     this.xmlRepository = xmlRepository;
     this.dbRepository  = dbRepository;
     this.logRepository = logRepository;
 }
Ejemplo n.º 2
0
 private PersonStorageService GetPersonService(IPersonXmlRepository xmlRepository, IRepository <StaplesAppDAL.Models.Person> dbRepository,
                                               IPersonLogRepository logRepository)
 {
     return(new PersonStorageService(xmlRepository, dbRepository, logRepository));
 }