Created
January 28, 2022 00:03
-
-
Save tonysneed/b2f490afe55b4dfad40674fb3f3d99da to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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