Esempio n. 1
0
        public Entity GetServiceProviderData()
        {
            IPublicDataService publicDataService = ObjectFactory.GetInstance <IPublicDataService>();
            var admInfo = publicDataService.GetAdministrationInfo();
            var result  = new Entity {
                Id = admInfo.Bulstat, Name = admInfo.Name
            };

            return(result);
        }
Esempio n. 2
0
        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());
        }
Esempio n. 3
0
 public Persons(IPublicDataService publicDataService)
 {
     _publicDataService = publicDataService;
 }
 public PublicDataController(IPublicDataService userService)
 {
     _userService = userService;
 }
Esempio n. 5
0
 public HomeController(ILogger <HomeController> logger, IDemoDataSeeder dataSeeder, IPublicDataService publicDataService)
 {
     _logger            = logger;
     _dataSeeder        = dataSeeder;
     _publicDataService = publicDataService;
 }
Esempio n. 6
0
 public FAQ(IPublicDataService publicDataService)
 {
     _publicDataService = publicDataService;
 }
 public PublicDataController(IPublicDataService publicData) // Здесь пройдет инициал. благодаря механизму адд скопе класса стартап
 {
     _publicData = publicData;
 }
Esempio n. 8
0
 public Projects(IPublicDataService publicDataService)
 {
     _publicDataService = publicDataService;
 }