コード例 #1
0
        public async Task <IActionResult> EditInformation(int?Id)
        {
            if (Id == null)
            {
                return(NotFound());
            }
            ViewModel.InformationViewModel Vmodel = new ViewModel.InformationViewModel();

            Vmodel.Information = await FInformtionSErvices.GetInformationAsync(Id);

            if (Vmodel.Information == null)
            {
                return(NotFound());
            }
            return(View(Vmodel));
        }