references services and products in db context
This commit is contained in:
parent
48511513d6
commit
1deec89137
4 changed files with 1043 additions and 4 deletions
|
|
@ -11,6 +11,7 @@ using Yavsc.Models.Booking;
|
|||
using Yavsc.Models.OAuth;
|
||||
using Yavsc.Models.Workflow;
|
||||
using Yavsc.Models.Identity;
|
||||
using Yavsc.Models.Market;
|
||||
|
||||
namespace Yavsc.Models
|
||||
{
|
||||
|
|
@ -93,6 +94,8 @@ namespace Yavsc.Models
|
|||
/// <returns></returns>
|
||||
public DbSet<GoogleCloudMobileDeclaration> GCMDevices { get; set; }
|
||||
|
||||
public DbSet<Service> Services { get; set; }
|
||||
public DbSet<Product> Products { get; set; }
|
||||
public Task ClearTokensAsync()
|
||||
{
|
||||
Tokens.RemoveRange(this.Tokens);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue