Add update endpoint.

This commit is contained in:
2019-01-01 16:43:34 +00:00
parent a95a1f71e0
commit 6fdcd6abcf
17 changed files with 628 additions and 1 deletions

View File

@@ -33,6 +33,7 @@
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Newtonsoft.Json;
namespace DiscImageChef.Server.Models
{
@@ -57,7 +58,8 @@ namespace DiscImageChef.Server.Models
[Index]
public DateTime ModifiedWhen { get; set; }
[Index]
public int VendorId { get; set; }
public int VendorId { get; set; }
[JsonIgnore]
public virtual UsbVendor Vendor { get; set; }
}
}