MireaBackend/Endpoint/Common/Attributes/NotFoundResponseAttribute.cs
Polianin Nikita 810c8ec5cf
Some checks failed
.NET Test Pipeline / build-and-test (pull_request) Failing after 1m13s
refactor: move files
2024-01-28 06:28:14 +03:00

9 lines
377 B
C#

using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Mirea.Api.Endpoint.Models;
using System;
namespace Mirea.Api.Endpoint.Common.Extensions;
[AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = true)]
public class NotFoundResponseAttribute() : ProducesResponseTypeAttribute(typeof(ErrorResponseVm), StatusCodes.Status404NotFound);