public Entity GetServiceProviderData() { IPublicDataService publicDataService = ObjectFactory.GetInstance <IPublicDataService>(); var admInfo = publicDataService.GetAdministrationInfo(); var result = new Entity { Id = admInfo.Bulstat, Name = admInfo.Name }; return(result); }
public IEnumerable <Term> GetServiceResultReceiptMethods(string ns) { IPublicDataService publicDataService = ObjectFactory.GetInstance <IPublicDataService>(); var serviceResultRcptMethods = publicDataService.GetServiceResultRcptMethods(ns); var result = from st in serviceResultRcptMethods select new Term() { Code = st.Code, Key = st.Uri, Name = st.Name }; return(result.ToList()); }
public Persons(IPublicDataService publicDataService) { _publicDataService = publicDataService; }
public PublicDataController(IPublicDataService userService) { _userService = userService; }
public HomeController(ILogger <HomeController> logger, IDemoDataSeeder dataSeeder, IPublicDataService publicDataService) { _logger = logger; _dataSeeder = dataSeeder; _publicDataService = publicDataService; }
public FAQ(IPublicDataService publicDataService) { _publicDataService = publicDataService; }
public PublicDataController(IPublicDataService publicData) // Здесь пройдет инициал. благодаря механизму адд скопе класса стартап { _publicData = publicData; }
public Projects(IPublicDataService publicDataService) { _publicDataService = publicDataService; }