Esempio n. 1
0
        public ActionResult Edit(int id)
        {
            var function = _functionService.GetSingleById(id);

            if (function == null)
            {
                return(HttpNotFound());
            }

            var functionVm = Mapper.Map <Function, FunctionVm>(function);

            return(View(functionVm));
        }