Beispiel #1
0
        public async Task <UserServiceResponse> VerifyUserAsync(UserVerification user)
        {
            var result = await UserManagementHttpClient
                         .PostApiCallAsync(this._appSettings.Value.BaseAddress, this._appSettings.Value.UserVerificationAddress, user)
                         .ConfigureAwait(true);

            return(result);
        }
Beispiel #2
0
        public async Task <IActionResult> Search(RoleSearchModel searchModel)
        {
            var response = await UserManagementHttpClient.PostJsonAsync <GridDataModel <RoleListModel> >(EndpointConstant.Roles.LIST, new RoleSearchModel());

            return(Json(response));
        }