Example #1
0
 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)));
     }
 }
Example #2
0
        public ActionResult Alterar(int id)
        {
            CarregarViewBag();
            var item = colaboradorService.GetById(id);

            return(View(item));
        }