Browse Source

merged item und itempost

David
David Renner 2 years ago
parent
commit
a8b1761867
  1. 5
      Models/Item.cs
  2. 11
      Models/ItemPost.cs

5
Models/Item.cs

@ -9,5 +9,10 @@ namespace BuecherwurmAPI.Models
[Required]
public long BookId { get; set; }
}
public class ItemPost
{
[Required]
public int BookId { get; set; }
}
}

11
Models/ItemPost.cs

@ -1,11 +0,0 @@
using System.ComponentModel.DataAnnotations;
namespace BuecherwurmAPI.Models
{
public class ItemPost
{
[Required]
public int BookId { get; set; }
}
}
Loading…
Cancel
Save