/// <summary> /// Compares this instance with <paramref name="other" />. /// </summary> /// <param name="other">The other instance.</param> /// <returns><c>true</c> if both ids are equal.</returns> protected bool Equals(GroupDataModel other) { return(Id == other.Id); }