public FicCatEdificiosController() { FicServicio = new FicSrvCatEdificiosList(); servicioDetail = new FicSrvCatEdificiosDetail(); servicioCreate = new FicSrvCatEdificiosCreate(); servicioEdit = new FicSrvCatEdificiosUpdate(); }
public IActionResult FicViCatEdificiosEdit(short id) { try { servicioDetail = new FicSrvCatEdificiosDetail(); edificio = servicioDetail.FicGetCatEdificiosDetail(id).Result; ViewBag.Title = "Editar Edificio"; return(View(edificio)); } catch (Exception e) { throw; } }