protected bool Equals(OutputDtoGetTraining other) { return(Repetitions.Equals(other.Repetitions) && ActivityName == other.ActivityName && TrainingDateValue.Equals(other.TrainingDateValue) && Points.Equals(other.Points)); }
protected bool Equals(OutputDtoAddActivity other) { return(Id == other.Id && Name == other.Name && Repetitions.Equals(other.Repetitions) && CategoryName == other.CategoryName && UnitType == other.UnitType); }
//equals protected bool Equals(Training other) { return(Equals(User, other.User) && Repetitions.Equals(other.Repetitions) && Id == other.Id && Equals(Activity, other.Activity) && Equals(TrainingDate, other.TrainingDate) && Points.Equals(other.Points)); }
/* * Equals */ protected bool Equals(Activity other) { return(Id == other.Id && Name == other.Name && Repetitions.Equals(other.Repetitions) && Equals(Unit, other.Unit) && Equals(Category, other.Category)); }