implémenter l'interface adéquate

This commit is contained in:
Paul Schneider 2016-08-12 19:27:37 +02:00
commit 0b7ecd4039

View file

@ -2,10 +2,11 @@ using System;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations.Schema;
using Newtonsoft.Json; using Newtonsoft.Json;
using Yavsc.Interfaces;
namespace Yavsc.Models namespace Yavsc.Models
{ {
public partial class Blog public partial class Blog : IBlog
{ {
[Key(), DatabaseGenerated(DatabaseGeneratedOption.Identity)] [Key(), DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long Id { get; set; } public long Id { get; set; }