示例#1
0
        public async Task <JsonResult> DelPlan(string planID)
        {
            using (PlanRepository planRepo = new PlanRepository())
            {
                var res = await planRepo.DelPlanAsync(planID);

                return(Json(new { isOk = res }));
            }
        }