public ActionResult _StockOptionalParital(string StockID) { OptionalService OS = new OptionalService(); var vm = OS.GetOptionalStatus(StockID, Convert.ToInt32(Session["UserId"])); return(PartialView(vm)); }
public ActionResult OptionalAsync(string stock_id) { OptionalService OS = new OptionalService(); var status = OS.SelectOptional(stock_id, Convert.ToInt32(Session["UserId"])); return(Json(status, JsonRequestBehavior.AllowGet)); }
public ActionResult MyOptional() { OptionalService OS = new OptionalService(); var vm = OS.GetOptionalStatus(Convert.ToInt32(Session["UserId"])); return(View(vm)); }