diff --git a/test/TestApp/TestApp.Shared/Features/WeatherForecast/WeatherForecastDto.cs b/test/TestApp/TestApp.Shared/Features/WeatherForecast/WeatherForecastDto.cs index 70cc6c642..97e0b5185 100644 --- a/test/TestApp/TestApp.Shared/Features/WeatherForecast/WeatherForecastDto.cs +++ b/test/TestApp/TestApp.Shared/Features/WeatherForecast/WeatherForecastDto.cs @@ -2,7 +2,7 @@ { using System; - public class WeatherForecastDto : ICloneable + public class WeatherForecastDto { public WeatherForecastDto() { } @@ -17,7 +17,5 @@ protected WeatherForecastDto(WeatherForecastDto aWeatherForecast) public string Summary { get; set; } public int TemperatureC { get; set; } public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); - - public object Clone() => new WeatherForecastDto(this); } } \ No newline at end of file