public async ValueTask <ReadBookmarkResponse> AdminReadById(int accountId, FilterByMangaChapterAndPageIdRequest filter) { var response = new ReadBookmarkResponse(); await response.Read(context, accountId, filter.MangaId, filter.ChapterId, filter.PageId, filter.Offset, filter.Limit); return(response); }
public async ValueTask <ReadBookmarkResponse> Read(FilterByMangaChapterAndPageIdRequest filter) { var accountId = int.Parse(User.Identity.Name); var response = new ReadBookmarkResponse(); await response.Read(context, accountId, filter.MangaId, filter.ChapterId, filter.PageId, filter.Offset, filter.Limit); return(response); }