using System.Threading.Tasks; using EstusShots.Shared.Models; using EstusShots.Shared.Models.Parameters; namespace EstusShots.Shared.Interfaces { public interface IDrinksController { /// /// Load all drinks from the database /// /// An instance /// An ApiResponse instance of type Task> GetDrinks(GetDrinksParameter parameter); /// /// Load detailed information on a single drink /// /// An instance /// An ApiResponse instance of type Task> GetDrinkDetails(GetDrinkDetailsParameter parameter); /// /// Creates or Updates a drink object /// /// An instance /// An ApiResponse instance of type Task> SaveDrink(SaveDrinkParameter parameter); } }