コード例 #1
0
        public async Task <IActionResult> Edit(int id)
        {
            ViewData["Title"] = "Aggiorna Beneficiario".ToUpper();
            BeneficiarioEditInputModel inputModel = new();

            inputModel = await service.GetBeneficiarioForEditingAsync(id);

            Beneficiario = inputModel.Beneficiario;
            return(View(inputModel));
        }
コード例 #2
0
 public Task <BeneficiarioEditInputModel> GetBeneficiarioForEditingAsync(int id)
 {
     return(beneficiarioService.GetBeneficiarioForEditingAsync(id));
 }