public async Task <IList <UserData> > GetAllUsersAsync() { return(await _apiConnector.GetAsync <IList <UserData> >("user/getAllUsers")); }
public async Task <IList <EventData> > GetUnapprovedEvents() { return(await _apiConnector.GetAsync <IList <EventData> >($"event/getUnapprovedEvents")); }
public async Task <IEnumerable <RoomData> > GetRoomsAsync() { return(await _apiConnector.GetAsync <IEnumerable <RoomData> >($"room/getRooms")); }
public async Task <List <CourseData> > GetUnapprovedCourses() { return(await _apiConnector.GetAsync <List <CourseData> >("course/getUnapprovedCourses")); }
public async Task <IList <CourseData> > GetCoursesAsync(int memberId) { return(await _apiConnector.GetAsync <IList <CourseData> >($"member/getCourses/{memberId}")); }