public IHttpActionResult Get(string isin)
        {
            Bond p = BondsDao.getBondsByIsin(isin);

            if (p != null)
            {
                return(Ok(p));
            }
            else
            {
                return(NotFound());
            }
        }
 public IHttpActionResult GetSecurity(dynamic security)
 {
     if (security.type == "Stock")
     {
         string isin = security.isin;
         return(Ok(StockDao.getStocksByIsin(isin)));
     }
     else if (security.type == "Bond")
     {
         string isin = security.isin;
         return(Ok(BondsDao.getBondsByIsin(isin)));
     }
     else
     {
         string isin = security.isin;
         return(Ok(FutureDao.getFutureByIsin(isin)));
     }
 }