public async Task <ActionResult <Trader> > DeleteTrader(int id) { var Trader = await _trader.DeleteTrader(id); if (Trader == null) { return(NotFound()); } return(Trader); }