merged item und itempost

This commit is contained in:
David Renner 2020-06-03 09:20:55 +02:00
parent 8ffc0609dc
commit a8b1761867
2 changed files with 5 additions and 11 deletions

View file

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

View file

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