Compare commits
No commits in common. 'Login' and 'main' have entirely different histories.
@ -1,13 +0,0 @@
|
|||||||
|
|
||||||
using Microsoft.AspNetCore.Identity;
|
|
||||||
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
|
|
||||||
using Microsoft.EntityFrameworkCore;
|
|
||||||
|
|
||||||
namespace Infrastructure;
|
|
||||||
|
|
||||||
public class ApplicationDbContext : IdentityDbContext<IdentityUser>
|
|
||||||
{
|
|
||||||
public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options) :
|
|
||||||
base(options)
|
|
||||||
{ }
|
|
||||||
}
|
|
@ -1,25 +1,9 @@
|
|||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using Shared;
|
|
||||||
|
|
||||||
namespace Server.Dto.Request;
|
namespace Server.Dto.Request;
|
||||||
|
|
||||||
public class RequestUserDto
|
public class RequestUserDto
|
||||||
{
|
{
|
||||||
[Required(ErrorMessage = "FirstName is required")]
|
[Required(ErrorMessage = "FirstName is required")]
|
||||||
public string Id { get; set; }
|
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
public int Age { get; set; }
|
|
||||||
public float Height { get; set; }
|
|
||||||
public float Weight { get; set; }
|
|
||||||
public bool Sexe { get; set; }
|
|
||||||
public string? Logo { get; set; }
|
|
||||||
public int NbSessionPerWeek { get; set; }
|
|
||||||
public string? EGoal { get; set; }
|
|
||||||
public ESleepLevel ESleepLevel { get; set; }
|
|
||||||
|
|
||||||
public EHealthProblem EHealthProblem { get; set; }
|
|
||||||
|
|
||||||
public ESport ESport { get; set; }
|
|
||||||
|
|
||||||
public ESportLevel ESportLevel { get; set; }
|
|
||||||
}
|
}
|
Binary file not shown.
Loading…
Reference in new issue