Esempio n. 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));
        }
 public Task <BeneficiarioEditInputModel> GetBeneficiarioForEditingAsync(int id)
 {
     return(beneficiarioService.GetBeneficiarioForEditingAsync(id));
 }