public bool Guardar(GiradoPersona entity) { try{ context.Add(entity); context.SaveChanges(); }catch (System.Exception) { return(false); } return(true); }
public ActionResult Post([FromBody] GiradoPersona giradoPersona) { return(Ok(giradoPersonaService.Guardar(giradoPersona))); }
public bool Actualizar(GiradoPersona entity) { throw new System.NotImplementedException(); }
public bool Guardar(GiradoPersona entity) { return(giradoPersonaRepository.Guardar(entity)); }