Ejemplo n.º 1
0
        public IActionResult Update(Guid id)
        {
            if (id == Guid.NewGuid() || id == Guid.Empty)
            {
                return(NotFound());
            }

            var company = _iCompanyAppService.FindbyId(id);

            if (company == null)
            {
                return(NotFound());
            }

            return(View("Update", company));
        }