public JsonResult BuscarSolicitante(int ideSolicitante) { try { var item = colaboradorService.GetById(ideSolicitante); return(Json(new { ok = true, item = item })); } catch (Exception ex) { return(Json(CreateMessageJson(ex))); } }
public ActionResult Alterar(int id) { CarregarViewBag(); var item = colaboradorService.GetById(id); return(View(item)); }