Skip to content

Instantly share code, notes, and snippets.

Created January 28, 2022 00:03
What would you like to do?
public interface IWeatherRepository
Task<IEnumerable<WeatherForecast>> GetAsync();
Task<WeatherForecast?> GetAsync(int id);
Task<WeatherForecast?> AddAsync(WeatherForecast entity);
Task<WeatherForecast?> UpdateAsync(WeatherForecast entity);
Task<int> RemoveAsync(int id);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment