public override bool Equals(object obj) { PaginationRequest other = obj as PaginationRequest; if (other == null) { return false; } return this.Page == other.Page && this.PerPage == other.PerPage; }