public HttpResponseMessage GetAll()
        {
            HttpResponseMessage response = null;

            try
            {
                response = Request.CreateResponse(HttpStatusCode.OK, medicService.GetAllMedic());
                //if(IsAdminPermission())
                //   response = Request.CreateResponse(HttpStatusCode.OK, medicService.GetAllMedic());
                //else
                //    response = Request.CreateResponse(HttpStatusCode.Unauthorized);
            }
            catch (Exception ex)
            {
                response = Request.CreateResponse(HttpStatusCode.InternalServerError, ex.Message);
            }
            return(response);
        }