public void EditOrder([FromBody] Order O = null) { if (O != null) { PortfolioManager P = new PortfolioManager(db); P.Edit(O); } else { throw new ProcessException("Order contains null attributes"); } }
public void EditOrder([FromBody] Order O) { PortfolioManager P = new PortfolioManager(db); P.Edit(O); }