public ContentResult UsersGetItems(ListFilter filter) { var totalCount = identityLogic.GetUsersCount(filter); var list = identityLogic.GetUsers(filter); return(Content(JsonConvert.SerializeObject(new { Items = list, TotalCount = totalCount }))); }