public IHttpActionResult Save(DC_RegVisitRecordModel request)
        {
            request.OrgId = SecurityHelper.CurrentPrincipal.OrgId;
            var response = service.SaveRegVisitRecord(request, null);

            return(Ok(response));
        }
 public BaseResponse <DC_RegVisitRecordModel> SaveRegVisitRecord(DC_RegVisitRecordModel request, List <string> fields)
 {
     return(base.Save <DC_REGVISITRECORD, DC_RegVisitRecordModel>(request, (q) => q.RECORDID == request.RecordId, fields));
 }