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