Exemplo n.º 1
0
 public ImportController()
 {
     string fileName = Path.Combine(System.Web.HttpContext.Current.Server.MapPath("~/App_Data"), "LookUps.xml");
     _xmlRepository = new XmlRepository(fileName);
     _importService = new ImportService(_xmlRepository);
 
 }
Exemplo n.º 2
0
 public ImportService(XmlRepository xmlRepository)
 {
     _fileService = new FileService();
     _xmlRepository = xmlRepository;
 }