public NewsFromElastic GetNewsWithPaging(int skip, int top) { var body = new { from = skip, size = top }; return(_mapper.Map <ResultSetFromElastic, NewsFromElastic>(_elastic.GetNewsFromBody(body))); }
public NewsFromElastic GetNewsWithPaging(int skip, int top) { var body = new { from = skip, size = top }; return(_mapper.Map <ResultSetFromElastic, NewsFromElastic>(_elastic.GetNewsFromBody(body))); }