public IActionResult AddSE(StockExchangeEntity s) { _repo.addStockExchange(s); return(Ok("Stock Exchange added")); }
public void addStockExchange(StockExchangeEntity s) { db.StockExchangeEntity.Add(s); db.SaveChanges(); }