public bool Guardar(HistorialLetra entity) { try{ context.Add(entity); context.SaveChanges(); }catch (System.Exception) { return(false); } return(true); }
public bool Guardar(HistorialLetra entity) { return(historialLetraRepository.Guardar(entity)); }
public bool Actualizar(HistorialLetra entity) { throw new System.NotImplementedException(); }
public ActionResult Post([FromBody] HistorialLetra historialLetra) { return(Ok(historialLetraService.Guardar(historialLetra))); }