public List <Data.SecondTestModel.Address> GetAddresses()
        {
            var persons = _personAppService.GetPersons();
            var address = _repository.GetAllList();

            return(address);
        }
Exemple #2
0
        public IActionResult Index()
        {
            var address = _addressAppService.GetAddresses();
            //var tt = _serviceProvider.GetService(typeof(UnitOfWorkInterceptor));
            var testPerson = _personAppService.GetPersons();

            //var tAutofac = _testAutofacAppService.TestAutofac();
            return(View());
        }
Exemple #3
0
 // GET api/values
 public GetPersonsOutput Get()
 {
     Logger.Debug("test");
     return(_service.GetPersons());
 }