mediatr, api, refit

This commit is contained in:
Michele 2020-11-07 23:37:08 +00:00
parent cdabe27b0b
commit dbc2a6d35e
13 changed files with 177 additions and 70 deletions

16
Sledgemapper/IMapApi.cs Normal file
View 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);
}
}