Exemple #1
0
        public virtual IActionResult Edit(TKey id)
        {
            var model = _service.GetByIdDto <TEditModel>(id);

            if (model == null)
            {
                return(NotFound());
            }
            LoadRelatedEditModelData(model);
            return(View(model));
        }