public IHttpActionResult deleteSector(Sector c) { //Bond c1 = new Bond { Isin=1, Issuer="ztt", Coupon=3.3, MaturityMonth="0", MaturityYear= Convert.ToDateTime("1975-06-04") }; int changeLine = SectorDao.deleteSector(c); return(Ok(changeLine)); }