public IHttpActionResult GetSaleList() { // var data = "sanam"; var data = _saleservices.ListSale(); //listNotice which comes from interfaces. return(Ok(data)); }