11 lines
254 B
C#
11 lines
254 B
C#
|
using Portoa.Validation.DataAnnotations;
|
|||
|
using VideoGameQuotes.Api;
|
|||
|
|
|||
|
namespace VideoGameQuotes.Web.Models {
|
|||
|
public class VoteModel {
|
|||
|
[GreaterThanZero]
|
|||
|
public int QuoteId { get; set; }
|
|||
|
|
|||
|
public VoteDirection Direction { get; set; }
|
|||
|
}
|
|||
|
}
|