コード例 #1
0
        public async Task <IActionResult> Details(string Id, string returnUrl)
        {
            var pacient = await _pacientService.GetPacientByIdAsync(Id, true, true, false);

            pacient.Address = await _pacientService.GetPacientAddress(Id);

            var vm = new PacientInfoViewModel
            {
                Pacient   = pacient,
                returnUrl = returnUrl
            };

            return(View(vm));
        }