Exemplo n.º 1
0
        public ActionResult SetSure(string ids, short sure)
        {
            var idls = ids.Split(',').Select(o => int.Parse(o)).ToList();
            var list = TakeStockService.FindList(o => idls.Contains(o.Id));

            list.Each(o => o.Sure = sure);
            var op = TakeStockService.Update(list);

            return(new JsonNetResult(op));
        }