示例#1
0
        // GET: Funcionario/Details/5
        public ActionResult Details(Guid?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }

            var funcionarioViewModel = _appService.Get(id);

            if (funcionarioViewModel == null)
            {
                return(HttpNotFound());
            }
            return(View(funcionarioViewModel));
        }