コード例 #1
0
        public HttpResponseMessage MergeDoctor(MergeDoctorParameter merge_doctor)
        {
            TransactionalInformation transaction = new TransactionalInformation();
            var response = docDataService.MergeDoctor(merge_doctor.doctor_id, merge_doctor.temporary_doctor_id, connectionString, SessionToken, out transaction);

            if (transaction.ReturnStatus)
            {
                return(Request.CreateResponse(HttpStatusCode.OK, response));
            }

            return(Request.CreateResponse(HttpStatusCode.BadRequest));
        }