This commit is contained in:
Ruidy Nemausat 2020-02-21 14:15:17 +01:00
parent 2343747b1c
commit c06482563e
2 changed files with 3 additions and 3 deletions

View file

@ -36,8 +36,8 @@ namespace TicketManager.Models
[Display(Name = "Member since"), DisplayFormat(DataFormatString = "{0:yyyy-MM-dd}")]
public DateTime Created_at { get; private set; } = DateTime.Now;
// [Display(Name = "Avatar")]
// public byte[] Picture { get; set; }
[Display(Name = "Avatar")]
public byte[] Picture { get; set; }
public List<Assignment> Assignments { get; set; } = new List<Assignment>();

View file

@ -1,4 +1,4 @@
export interface User {
id: string;
picture: string;
picture: File;
}