Exemplo n.º 1
0
        public async Task <IActionResult> EditInformation(ViewModel.InformationViewModel vmodel)
        {
            if (ModelState.IsValid)
            {
                await FInformtionSErvices.UpdateAsync(vmodel.Information);

                Message = "Ok Edit";
            }
            return(RedirectToAction(nameof(Index)));
        }