Beispiel #1
0
 public BaseResponse <LabExamRec> SaveLabExamRec(LabExamRec request)
 {
     if (request.Id == 0)
     {
         request.CreateBy   = SecurityHelper.CurrentPrincipal.EmpNo;
         request.CreateDate = DateTime.Now;
     }
     return(base.Save <LTC_LABEXAMREC, LabExamRec>(request, (q) => q.ID == request.Id));
 }
        public IHttpActionResult Post(LabExamRec baseRequest)
        {
            var response = service.SaveLabExamRec(baseRequest);

            return(Ok(response));
        }