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