public void UpdateMeta(AdminMangaMetaJson obj) { Title = Utility.Remove4PlusBytesUtf8Chars(obj.title); Meta.Update(obj); UpdateTags(obj.tags); Save(); }
public void Update(AdminMangaMetaJson obj) { Author = Utility.Remove4PlusBytesUtf8Chars(obj.author); Volume = obj.volume; Series = Utility.Remove4PlusBytesUtf8Chars(obj.series); Year = obj.year; Publisher = Utility.Remove4PlusBytesUtf8Chars(obj.publisher); Save(); }
public AdminMangaMetaJson GetMetaJson() { AdminMangaMetaJson obj = new AdminMangaMetaJson(); obj.author = Meta.Author; obj.title = Title; obj.volume = Meta.Volume; obj.series = Meta.Series; obj.year = Meta.Year; obj.publisher = Meta.Publisher; obj.tags = GetTags(); return obj; }