Пример #1
0
 public void UpdateMeta(AdminMangaMetaJson obj)
 {
     Title = Utility.Remove4PlusBytesUtf8Chars(obj.title);
     Meta.Update(obj);
     UpdateTags(obj.tags);
     Save();
 }
Пример #2
0
 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();
 }
Пример #3
0
 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;
 }