API controller rename

master
Tudor Stanciu 2021-04-16 00:45:11 +03:00
parent 70307dc2b6
commit 11aa5b5ace
1 changed files with 3 additions and 3 deletions

View File

@ -6,12 +6,12 @@ using System.Threading.Tasks;
namespace NetworkResurrector.Api.Controllers
{
[ApiController]
[Route("resurrector-agent")]
public class ResurrectorAgentController : ControllerBase
[Route("network")]
public class NetworkController : ControllerBase
{
private readonly IMediator _mediator;
public ResurrectorAgentController(IMediator mediator)
public NetworkController(IMediator mediator)
{
_mediator = mediator;
}