public JsonResult Edit(QuotationMasterViewModel Quotmasterviewmodel) { bool status = false; Repository.QuotationRepository quotrepo = new Repository.QuotationRepository(); quotrepo.UpdateQuotationMaster(Quotmasterviewmodel); status = true; return(new JsonResult { Data = new { status = status } }); }
public JsonResult Create(Models.QuotationMasterViewModel order) { bool status = false; Repository.QuotationRepository quotrepo = new Repository.QuotationRepository(); quotrepo.AddQuotationMaster(order); status = true; return(new JsonResult { Data = new { status = status } }); }