public ActionResult DeleteStockEntry(StockEntryModel model, List <Stk_Dtl_Entry> list) { if (ModelState.IsValid) { details = new StockEntryDetails(); Enums.CrudStatus status = details.SetStock(model, list, Enums.CrudType.Delete); ReturnAlertMessage(status); } return(RedirectToAction("StockEntry")); }
public JsonResult GetStockDetailsJosn(int stockId) { details = new StockEntryDetails(); return(Json(details.GetStockDetailsJson(stockId), JsonRequestBehavior.AllowGet)); }
public JsonResult GetUniqueStockProducts() { details = new StockEntryDetails(); return(Json(details.GetUniqueStockProducts(), JsonRequestBehavior.AllowGet)); }
public JsonResult GetStockJosn() { details = new StockEntryDetails(); return(Json(details.GetStockJson(), JsonRequestBehavior.AllowGet)); }