using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Performance.DtoModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Performance.Api.Controllers
{
    [ApiController]
    public class NotFoundController : ControllerBase
    {
        [Route("error/404")]
        [HttpGet]
        [AllowAnonymous]
        public ActionResult<ApiResponse> Get()
        {
            return new ApiResponse(ResponseType.NotFound, "not found");
        }
    }
}
