WIP Chat PV

vnext
Paul Schneider 8 years ago
parent af1b9289e6
commit c88a8bef79
2 changed files with 5 additions and 2 deletions

@ -181,6 +181,6 @@ namespace Yavsc.Models
public DbSet<EstimateTemplate> EstimateTemplates { get; set; }
public DbSet<Contact> Contacts { get; set; }
}
}

@ -12,7 +12,10 @@ namespace Yavsc.Models
[Required()]
public string OwnerId { get; set; }
[ForeignKeyAttribute("OwnerId"),JsonIgnore]
[ForeignKeyAttribute("OwnerId"),NotMapped]
public virtual ApplicationUser Owner { get; set; }
[ForeignKeyAttribute("UserId"),NotMapped]
public virtual ApplicationUser User { get; set; }
}
}

Loading…