Mise à jour de 'WF-WebAdmin/WF-WebAdmin/Model/User.cs'
continuous-integration/drone/push Build is failing Details

master
parent 8e700eeca2
commit 52b377fef8

@ -1,26 +1,26 @@
namespace WF_WebAdmin.Model
{
public class User
{
public int Id { get; set; }
public string Image { get; set; }
public string Name { get; set; }
public string Email { get; set; }
public DateTime DateCreation { get; set; }
public Boolean IsAdmin { get; set; }
public List<Commentary> Comments { get; set; }
public User(string image, string name, string email, DateTime dateCreation, bool isAdmin)
{
this.Image = image;
this.Name = name;
this.Email = email;
this.DateCreation = dateCreation;
IsAdmin = isAdmin;
}
public User() { }
}
}
namespace WF_WebAdmin.Model
{
public class User
{
public int Id { get; set; }
public string? Image { get; set; }
public string Name { get; set; }
public string Email { get; set; }
public DateTime DateCreation { get; set; }
public Boolean IsAdmin { get; set; }
public List<Commentary>? Comments { get; set; }
public User(string image, string name, string email, DateTime dateCreation, bool isAdmin)
{
this.Image = image;
this.Name = name;
this.Email = email;
this.DateCreation = dateCreation;
IsAdmin = isAdmin;
}
public User() { }
}
}

Loading…
Cancel
Save