Chat rooms

This commit is contained in:
2019-05-10 09:58:09 +01:00
parent 3adff3b155
commit 7a84e2965b
23 changed files with 3646 additions and 346 deletions

View File

@ -15,8 +15,11 @@ namespace Yavsc.Models.Access
[Required]
public string OwnerId { get; set; }
[ForeignKey("OwnerId"),JsonIgnore]
[ForeignKey("OwnerId"), JsonIgnore]
public virtual ApplicationUser Owner { get; set; }
[ForeignKey("UserId"), JsonIgnore]
public virtual ApplicationUser User { get; set; }
}
}