Exemplo n.º 1
0
 public IHttpActionResult CheckIsLike(int id, int cust_id)
 {
     try
     {
         Deal        deal  = new Deal();
         List <Deal> deals = deal.CheckIsLike(id, cust_id);
         return(Ok(deals));
     }
     catch (Exception e)
     {
         return(Content(HttpStatusCode.BadRequest, e));
     }
 }