public List <CategoryForElastic> GetCategories() { var body = new { from = 0, size = 10000 }; return(_mapper.Map <List <CategoryElastic>, List <CategoryForElastic> >(_elastic.GetCategoriesFromBody(body))); }
public List <CategoryForElastic> GetCategories() { var body = new { from = 0, size = 10000 }; return(_mapper.Map <List <CategoryElastic>, List <CategoryForElastic> >(_elastic.GetCategoriesFromBody(body))); }