private MenuViewModel createModel(int page, string notification) { return(new MenuViewModel( _service.Lists(page, MenuViewModel.PageCount), _service.Counts(), page, notification)); }
public int Counts() => _service.Counts();