feat(api): в work getAll добавлен фильр по имени. ApplicationController GetAll + filter

This commit is contained in:
Mikhail Trubnikov
2024-04-03 15:21:47 +10:00
parent a92bbf1899
commit 693acc4cbc
5 changed files with 108 additions and 5 deletions

View File

@@ -0,0 +1,18 @@
using PARR.DAL.Contracts;
namespace PARR.API.Contracts.V1.Requests.Queries
{
public class ApplicationQuery
{
/// <summary>
/// Поиск по имени. Например: "tomcat"
/// </summary>
public string? Name { get; set; }
/// <summary>
/// Поиск по типу: 0 - APP, 1 - OS, 2 - DB
/// </summary>
public ApplicationTypesEnum? Type { get; set; }
}
}