mediatr, api, refit
This commit is contained in:
parent
cdabe27b0b
commit
dbc2a6d35e
13 changed files with 177 additions and 70 deletions
16
Sledgemapper/IMapApi.cs
Normal file
16
Sledgemapper/IMapApi.cs
Normal file
|
@ -0,0 +1,16 @@
|
|||
using Refit;
|
||||
using Sledgemapper.Shared.Entities;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Sledgemapper
|
||||
{
|
||||
public interface IMapApi
|
||||
{
|
||||
[Post("/map/tile")]
|
||||
Task NewTile([Body] Tile tile, string sessionName);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue