protected bool Equals(OutputDtoGetTraining other)
 {
     return(Repetitions.Equals(other.Repetitions) && ActivityName == other.ActivityName && TrainingDateValue.Equals(other.TrainingDateValue) && Points.Equals(other.Points));
 }
Esempio n. 2
0
 protected bool Equals(OutputDtoAddActivity other)
 {
     return(Id == other.Id && Name == other.Name && Repetitions.Equals(other.Repetitions) && CategoryName == other.CategoryName && UnitType == other.UnitType);
 }
Esempio n. 3
0
 //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));
 }
Esempio n. 4
0
        /*
         * 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));
        }