Exemple #1
0
        public override async Task <DeleteWeatherForecastResponse> DeleteWeatherForecast(DeleteWeatherForecastRequest request, ServerCallContext context)
        {
            var weatherForecastId = request.Id;
            var result            = await _repository.DeleteWeatherForecast(weatherForecastId);

            return(new DeleteWeatherForecastResponse
            {
                Deleted = result
            });
        }