refabrique

This commit is contained in:
Paul Schneider 2016-07-20 13:52:38 +02:00
commit 817c1c151f
34 changed files with 3476 additions and 35 deletions

View file

@ -4,7 +4,7 @@ using System.ComponentModel.DataAnnotations.Schema;
namespace Yavsc.Models
{
public class Contact
public class Contact: IContact
{
[Required()]
public string UserId { get; set; }
@ -13,6 +13,6 @@ namespace Yavsc.Models
public string OwnerId { get; set; }
[ForeignKeyAttribute("OwnerId")]
public virtual ApplicationUser Owner { get; set; }
public virtual IApplicationUser Owner { get; set; }
}
}