コード例 #1
0
        public JsonResult SaveMultiDoc(List <Documents> DocList)
        {
            List <RModel <myDBContext> > rList = new List <RModel <myDBContext> >();

            DocList.ForEach(o =>
            {
                var result = _IDocumentsService.InsertOrUpdate(o);
                var save   = _uow.SaveChanges();
                rList.Add(save);
            });
            return(Json(rList));
        }