feat: add cache for api

This commit is contained in:
2024-08-24 02:27:05 +03:00
parent 24c75e4306
commit 31087a57c9
6 changed files with 6 additions and 0 deletions

View File

@ -12,6 +12,7 @@ using System.Threading.Tasks;
namespace Mirea.Api.Endpoint.Controllers.V1;
[ApiVersion("1.0")]
[CacheMaxAge(true)]
public class FacultyController(IMediator mediator) : BaseController
{
/// <summary>