Fixed issue with Bookmarks with no tags not being returned
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using YABA.Common.Interfaces;
|
||||
@ -21,5 +22,7 @@ namespace YABA.Models
|
||||
[ForeignKey(nameof(User))]
|
||||
public int UserId { get; set; }
|
||||
public virtual User User { get; set; }
|
||||
|
||||
public ICollection<BookmarkTag> BookmarkTags { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user