Esempio n. 1
0
        public HttpResponseMessage GetDoctorsforPracticeID(Practice_Parameter Parameter)
        {
            TransactionalInformation      transaction = new TransactionalInformation();
            List <Practice_Doctors_Model> data        = docDataService.GetDoctorsForPracticeID(Parameter, connectionString, SessionToken, out transaction);

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

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