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

            var fornecedorViewModel = _appService.Get(id);

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