Add code generation.
Replaces the client and server controller implementations with generated code from the shared project.
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
using System.Threading.Tasks;
|
||||
using EstusShots.Shared.Models;
|
||||
using EstusShots.Shared.Models.Parameters;
|
||||
|
||||
namespace EstusShots.Shared.Interfaces.Controllers
|
||||
{
|
||||
/// <summary>
|
||||
/// Access many seasons with one request
|
||||
/// </summary>
|
||||
public interface ISeasonsController
|
||||
{
|
||||
/// <summary>
|
||||
/// Get a list of all seasons in the system
|
||||
/// </summary>
|
||||
/// <param name="parameter"></param>
|
||||
/// <returns></returns>
|
||||
Task<ApiResponse<GetSeasonsResponse>> GetSeasons(GetSeasonsParameter parameter);
|
||||
|
||||
Task<ApiResponse<GetSeasonResponse>> GetSeason(GetSeasonParameter parameter);
|
||||
|
||||
Task<ApiResponse<SaveSeasonResponse>> SaveSeason(SaveSeasonParameter parameter);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user