Esempio n. 1
0
        //保存数据字典子项
        public BaseResponse <DC_COMMDTLModel> SaveDCCOMMDtl(DC_COMMDTLModel request)
        {
            unitOfWork.BeginTransaction();

            var responsePerson = base.Save <DC_COMMDTL, DC_COMMDTLModel>(request, (q) => q.ITEMTYPE == request.ITEMTYPE);

            unitOfWork.Commit();
            return(responsePerson);
        }
Esempio n. 2
0
        public IHttpActionResult Post(DC_COMMDTLModel baseRequest)
        {
            var response = service.SaveDCCOMMDtl(baseRequest);

            return(Ok(response));
        }