Ejemplo n.º 1
0
        public async Task <PartialViewResult> ViewCustomerModal(int id)
        {
            var getCustomerForViewDto = await _customersAppService.GetCustomerForView(id);

            var model = new CustomerViewModel()
            {
                Customer = getCustomerForViewDto.Customer
                ,
                CustomerCategoryName = getCustomerForViewDto.CustomerCategoryName
            };

            return(PartialView("_ViewCustomerModal", model));
        }