public List <Data.SecondTestModel.Address> GetAddresses() { var persons = _personAppService.GetPersons(); var address = _repository.GetAllList(); return(address); }
public IActionResult Index() { var address = _addressAppService.GetAddresses(); //var tt = _serviceProvider.GetService(typeof(UnitOfWorkInterceptor)); var testPerson = _personAppService.GetPersons(); //var tAutofac = _testAutofacAppService.TestAutofac(); return(View()); }
// GET api/values public GetPersonsOutput Get() { Logger.Debug("test"); return(_service.GetPersons()); }