Exemple #1
0
        public async Task <IActionResult> TemplateEdit([Required] Guid id)
        {
            var viewModelFieldRequest = await _viewModelService.GetViewModelFieldByIdAsync(id);

            if (!viewModelFieldRequest.IsSuccess)
            {
                return(NotFound());
            }
            return(View(viewModelFieldRequest.Result));
        }