mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 19:54:55 +00:00
rename dtos to requests
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Govor.Core.Infrastructure.Validators;
|
||||
|
||||
namespace Govor.Core.DTOs;
|
||||
namespace Govor.Core.Requests;
|
||||
|
||||
public class LoginDto
|
||||
public class LoginRequest
|
||||
{
|
||||
[Required]
|
||||
[StringLength(UserValidator.MAX_LENGHT_OF_NAME,
|
||||
@@ -2,9 +2,9 @@ using System.ComponentModel.DataAnnotations;
|
||||
using Govor.Core.Infrastructure.Validators;
|
||||
using Govor.Core.Models;
|
||||
|
||||
namespace Govor.Core.DTOs;
|
||||
namespace Govor.Core.Requests;
|
||||
|
||||
public record RegistrationDto
|
||||
public record RegistrationRequest
|
||||
{
|
||||
[Required]
|
||||
[StringLength(UserValidator.MAX_LENGHT_OF_NAME,
|
||||
Reference in New Issue
Block a user