Skip to content

Commit

Permalink
Remove useless constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
scogliera committed Dec 12, 2023
1 parent 021bf77 commit 111bfc2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Models/Lecturer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@ namespace TeacherDigitalAgency.Models;

public class Lecturer
{
public Lecturer(string firstName, string lastName)
{
FirstName = firstName;
LastName = lastName;
}

[JsonPropertyName("uuid")] public Guid Uuid { get; init; } = Guid.NewGuid();
[JsonPropertyName("title_before")] public string? TitleBefore { get; set; }
[JsonPropertyName("first_name")] public required string FirstName { get; set; }
Expand Down

0 comments on commit 111bfc2

Please sign in to comment.