public JsonResult AcceptRejectQuote(AcceptRejectQuoteModel model) { model.UserId = Convert.ToInt64(Session["UserId"]); var status = propertyService.AcceptRejectQuote(model); return(Json("Success", JsonRequestBehavior.AllowGet)); }
public IHttpActionResult AcceptRejectQuote(AcceptRejectQuoteModel model) { var status = propertyService.AcceptRejectQuote(model); return(this.Ok(new { status = status, message = propertyService.message, })); }