trying to merge identity in api

This commit is contained in:
Michele 2020-11-11 01:25:25 +00:00
parent 9d4fd1e6c0
commit 5f6095f3ef
39 changed files with 868 additions and 282 deletions

View file

@ -1,4 +1,5 @@
using MediatR;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Sledgemapper.Api.Handlers;
using Sledgemapper.Shared.Entities;
@ -6,7 +7,8 @@ using System.Threading.Tasks;
namespace Sledgemapper.Api.Controllers
{
[Route("[controller]/{sessionName}")]
[Authorize]
[Route("[controller]/{sessionName}")]
public class SessionController : ControllerBase
{
private readonly IMediator _mediator;