Update nach User-Passwort-Change
This commit is contained in:
32
BlazorApp/Controller/AspNetUsers/AspNetUsers.cs
Normal file
32
BlazorApp/Controller/AspNetUsers/AspNetUsers.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using BWPMModels;
|
||||
using BlazorApp.Helper;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
|
||||
namespace BlazorApp.Controller
|
||||
{
|
||||
public class AspNetUsersController
|
||||
{
|
||||
public static List<AspNetUsers> GetAllData()
|
||||
{
|
||||
Helper.HttpClientHelper httpcli = new Helper.HttpClientHelper();
|
||||
httpcli.CallService("AspNetUsers", "", "GET", null);
|
||||
return JsonConvert.DeserializeObject<List<AspNetUsers>>(httpcli.Results.daten);
|
||||
|
||||
}
|
||||
|
||||
public static void savedata(AspNetUsers AspNetUsersdata)
|
||||
{
|
||||
Helper.HttpClientHelper httpcli = new Helper.HttpClientHelper();
|
||||
httpcli.CallService("AspNetUsers", AspNetUsersdata.Id.ToString(), "PUT", AspNetUsersdata);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user