public ActionResult <bool> Post([FromBody] Investment investment) { if (DAInvestment.Insert(investment, out error)) { return(new CreatedAtRouteResult(null, null, true)); } return(BadRequest(error)); }
public bool Investment_Save(Investment investment, out LogError logError) { try { return(DAInvestment.Insert(investment, out logError)); } catch (Exception) { throw; } }