예제 #1
0
        public ActionResult _StockOptionalParital(string StockID)
        {
            OptionalService OS = new OptionalService();
            var             vm = OS.GetOptionalStatus(StockID, Convert.ToInt32(Session["UserId"]));

            return(PartialView(vm));
        }
예제 #2
0
        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));
        }
예제 #3
0
        public ActionResult MyOptional()
        {
            OptionalService OS = new OptionalService();
            var             vm = OS.GetOptionalStatus(Convert.ToInt32(Session["UserId"]));

            return(View(vm));
        }