Skip to content

Commit

Permalink
Remove unnecessary directives
Browse files Browse the repository at this point in the history
  • Loading branch information
shashinma committed Jul 8, 2024
1 parent faaeca0 commit 252d83f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Models/BookEntry.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Mvc;
Expand Down Expand Up @@ -41,12 +39,12 @@ public class BookEntry
[DisplayName("Комната")]
public string? Room { get; set; } = string.Empty;

[HiddenInput(DisplayValue = false)]
[HiddenInput(DisplayValue = false)]
public string Status { get; set; } = string.Empty;

public override string ToString()
{
// Used for full-text search
return $"Entry: {Name} {Department} {Mail} {Room}";
}
}
}

0 comments on commit 252d83f

Please sign in to comment.