Add code generation.
Replaces the client and server controller implementations with generated code from the shared project.
This commit is contained in:
@@ -2,7 +2,7 @@ using System.Threading.Tasks;
|
||||
using EstusShots.Shared.Models;
|
||||
using EstusShots.Shared.Models.Parameters;
|
||||
|
||||
namespace EstusShots.Shared.Interfaces
|
||||
namespace EstusShots.Shared.Interfaces.Controllers
|
||||
{
|
||||
public interface IDrinksController
|
||||
{
|
||||
@@ -2,7 +2,7 @@ using System.Threading.Tasks;
|
||||
using EstusShots.Shared.Models;
|
||||
using EstusShots.Shared.Models.Parameters;
|
||||
|
||||
namespace EstusShots.Shared.Interfaces
|
||||
namespace EstusShots.Shared.Interfaces.Controllers
|
||||
{
|
||||
/// <summary>
|
||||
/// Load and manipulate Enemy objects
|
||||
@@ -2,7 +2,7 @@ using System.Threading.Tasks;
|
||||
using EstusShots.Shared.Models;
|
||||
using EstusShots.Shared.Models.Parameters;
|
||||
|
||||
namespace EstusShots.Shared.Interfaces
|
||||
namespace EstusShots.Shared.Interfaces.Controllers
|
||||
{
|
||||
/// <summary>
|
||||
/// Access to episodes
|
||||
@@ -2,7 +2,7 @@ using System.Threading.Tasks;
|
||||
using EstusShots.Shared.Models;
|
||||
using EstusShots.Shared.Models.Parameters;
|
||||
|
||||
namespace EstusShots.Shared.Interfaces
|
||||
namespace EstusShots.Shared.Interfaces.Controllers
|
||||
{
|
||||
/// <summary>
|
||||
/// Load and manipulate player objects
|
||||
@@ -33,8 +33,8 @@ namespace EstusShots.Shared.Interfaces
|
||||
/// <summary>
|
||||
/// Deletes a player
|
||||
/// </summary>
|
||||
/// <param name="parameter">An <see cref="DeletePlayerParameter"/> instance</param>
|
||||
/// <returns>An ApiResponse instance of type <see cref="DeletePlayerResponse"/></returns>
|
||||
Task<ApiResponse<DeletePlayerResponse>> DeletePlayers(DeletePlayerParameter parameter);
|
||||
/// <param name="parameter">An <see cref="DeletePlayersParameter"/> instance</param>
|
||||
/// <returns>An ApiResponse instance of type <see cref="DeletePlayersResponse"/></returns>
|
||||
Task<ApiResponse<DeletePlayerResponse>> DeletePlayer(DeletePlayerParameter parameter);
|
||||
}
|
||||
}
|
||||
@@ -2,7 +2,7 @@ using System.Threading.Tasks;
|
||||
using EstusShots.Shared.Models;
|
||||
using EstusShots.Shared.Models.Parameters;
|
||||
|
||||
namespace EstusShots.Shared.Interfaces
|
||||
namespace EstusShots.Shared.Interfaces.Controllers
|
||||
{
|
||||
/// <summary>
|
||||
/// Access many seasons with one request
|
||||
Reference in New Issue
Block a user