// GET: Quotation/Details/5 public ActionResult Details(int id) { Quotation item = QuotationService.GetById(id); Quotation AVM = new Quotation(); AVM.Id = item.Id; AVM.Date_expiration = item.Date_expiration; AVM.QuoteNo = item.QuoteNo; AVM.Total = item.Total; AVM.TVA = item.TVA; return(View(AVM)); }
public JsonResult GetbyID(int ID) { var quo = _quotationService.GetById(ID); return(Json(quo, JsonRequestBehavior.AllowGet)); }