Fixes command since Avatar is required
This commit is contained in:
parent
748e6dd261
commit
0a5d2b8a46
3 changed files with 18 additions and 12 deletions
|
|
@ -10,13 +10,13 @@ namespace Yavsc.Models.Billing
|
|||
|
||||
public class NominativeServiceCommand<T> : Query<T> where T:Service
|
||||
{
|
||||
|
||||
[Required]
|
||||
public string ClientId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The client
|
||||
/// </summary>
|
||||
[Required,ForeignKey("ClientId")]
|
||||
[ForeignKey("ClientId")]
|
||||
public ApplicationUser Client { get; set; }
|
||||
|
||||
[Required]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue