Added new API for getting Member (aka Users but for use in FE). User is just used for login/registering.
This commit is contained in:
parent
a920be092d
commit
13ed323949
14 changed files with 172 additions and 65 deletions
|
|
@ -1,6 +1,4 @@
|
|||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Text.Json.Serialization;
|
||||
using API.Converters;
|
||||
|
||||
namespace API.DTOs
|
||||
{
|
||||
|
|
@ -11,7 +9,6 @@ namespace API.DTOs
|
|||
[Required]
|
||||
[StringLength(8, MinimumLength = 4)]
|
||||
public string Password { get; set; }
|
||||
[JsonConverter(typeof(JsonBoolNumberConverter))]
|
||||
public bool IsAdmin { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue