Esempio n. 1
0
        public void AccessDetails()
        {
            var request  = new HomeDetailsRequest();
            var entities = _container.GetInstance <IListHomeFeature>().Exec();

            request.Id   = entities.Last().Id;
            _homeDetails = _container.GetInstance <IHomeDetailsFeature>().Exec(request);
        }
Esempio n. 2
0
 public HomeDetailsResponse Exec(HomeDetailsRequest request) =>
 new HomeDetailsResponse.Factory().Create(_homes.ById(request.Id));