/// <summary> /// Copy constructor /// </summary> /// <param name="other"></param> protected Animal(Animal other) { Id = other.Id; Name = other.Name; Age = other.Age; Gender = other.Gender; FoodSchedule = other.FoodSchedule; }
public FoodController(IFoodSchedule _ifoodschedule, IMenu _imenu) { imenu = _imenu; ifoodschedule = _ifoodschedule; }