Ejemplo n.º 1
0
        // 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));
        }
Ejemplo n.º 2
0
        public JsonResult GetbyID(int ID)
        {
            var quo = _quotationService.GetById(ID);

            return(Json(quo, JsonRequestBehavior.AllowGet));
        }