public async Task <DataOperationResult <List <UserData> > > GetFamilyUsers(string familyId, UserType?userType)
 {
     return(await AzureClientHelper.GetData <DataOperationResult <List <UserData> > >(
                $"GetFamilyUsersFunction?familyId={familyId}&userType={userType.ToString()}"));
 }
 public async Task <DataOperationResult <UserData> > Get(string parentEmail, string userName)
 {
     return(await AzureClientHelper.GetData <DataOperationResult <UserData> >(
                $"GetUserFunction?userName={userName}&parentEmail={parentEmail}"));
 }
 public async Task <DataOperationResult <UserData> > GetByUserId(string userId)
 {
     return(await AzureClientHelper.GetData <DataOperationResult <UserData> >(
                $"GetUserByIdFunction?userId={userId.ToString()}"));
 }
示例#4
0
 public async Task <DataOperationResult <List <UserActivityData> > > GetAllForUser(string userId)
 {
     return(await AzureClientHelper.GetData <DataOperationResult <List <UserActivityData> > >(
                $"GetAllUserActivityFunction?userId={userId.ToString()}"));
 }