Update nach User-Passwort-Change
This commit is contained in:
39
BlazorApp/Controller/AspNetUsers/AspNetRoles.cs
Normal file
39
BlazorApp/Controller/AspNetUsers/AspNetRoles.cs
Normal file
@@ -0,0 +1,39 @@
|
||||
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 AspNetRolesController
|
||||
{
|
||||
public static List<AspNetRoles> GetAllData()
|
||||
{
|
||||
Helper.HttpClientHelper httpcli = new Helper.HttpClientHelper();
|
||||
httpcli.CallService("AspNetRoles", "", "GET", null);
|
||||
return JsonConvert.DeserializeObject<List<AspNetRoles>>(httpcli.Results.daten);
|
||||
|
||||
}
|
||||
|
||||
public static void savedata(BWPMModels.AspNetRoles AspNetRolesdata)
|
||||
{
|
||||
Helper.HttpClientHelper httpcli = new Helper.HttpClientHelper();
|
||||
httpcli.CallService("AspNetRoles", AspNetRolesdata.Id.ToString(), "PUT", AspNetRolesdata);
|
||||
|
||||
}
|
||||
public static int InsertData(BWPMModels.AspNetRoles AspNetRolesdata)
|
||||
{
|
||||
Helper.HttpClientHelper httpcli = new Helper.HttpClientHelper();
|
||||
httpcli.CallService("AspNetRoles", "", "POST", AspNetRolesdata);
|
||||
List<BWPMModels.AspNetRoles> LastAspNetRoles = new List<BWPMModels.AspNetRoles>();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user