Example #1
0
 public IActionResult addIPO(IpodetailsEntity c)
 {
     _repo.addIPO(c);
     return(Ok("IPO Added"));
 }
Example #2
0
        public IpodetailsEntity getCompanyIPO(decimal StockCode)
        {
            IpodetailsEntity i = db.IpodetailsEntities.Find(StockCode);

            return(i);
        }
Example #3
0
        public IActionResult getIPOdetails(decimal Stockcode)
        {
            IpodetailsEntity l = _repo.getCompanyIPO(Stockcode);

            return(Ok(l));
        }
Example #4
0
 public void addIPO(IpodetailsEntity c)
 {
     db.IpodetailsEntities.Add(c);
     db.SaveChanges();
 }