public async Task <List <User> > GetUserDoctors()
        {
            var patients = await _requestProvider.GetAsync <List <User> >("account/doctors");

            return(patients);
        }
        public async Task <List <CourseHistory> > GetAllCourseHistories()
        {
            var data = await _requestProvider.GetAsync <List <CourseHistory> >("coursehistory/getall?all=true");

            return(data);
        }
        public async Task <List <Course> > GetAllCoursesAsync()
        {
            var response = await _requestProvider.GetAsync <List <Course> >("course?all=true");

            return(response);
        }
示例#4
0
        /// <summary>
        /// Gets value of all accounts with patient type of ID
        /// </summary>
        /// <returns>
        /// List of patients if theres any but receives empty list of patients to be quantified as null
        /// </returns>
        public async Task <List <User> > GetAllPatientsAsync()
        {
            var patients = await _requestProvider.GetAsync <List <User> >("account/patients");

            return(patients);
        }