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:
Joseph Milazzo 2020-12-14 14:33:09 -06:00
parent a920be092d
commit 13ed323949
14 changed files with 172 additions and 65 deletions

View file

@ -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; }
}
}