public void Insert(StockTradingEntry obj)
 {
     using (AppDbContext db = new AppDbContext())
     {
         db.StockTradingLog.Add(obj);
         db.SaveChanges();
     }
 }
 public void Update(StockTradingEntry obj)
 {
     throw new NotImplementedException();
 }