Skip to content

Commit

Permalink
Removing Id as required since this will be generated by db on Create.
Browse files Browse the repository at this point in the history
  • Loading branch information
yelodevopsi committed Sep 28, 2023
1 parent 1c12e0c commit a62b890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/Core/DomainModels/Consultant.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Core.DomainModels;
public class Consultant
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public required int Id { get; set; }
public int Id { get; set; }

public required string Name { get; set; }
public required string Email { get; set; }
Expand Down

0 comments on commit a62b890

Please sign in to comment.