35 lines
918 B
C#

using Liber_Incantamentum.Application.DTOs.Filter;
using Liber_Incantamentum.Application.DTOs.General;
using Liber_Incantamentum.Application.Interfaces.Validations;
namespace Liber_Incantamentum.Application.Services.Validations
{
public class Validator : IValidator
{
public void ValidateGuid(Guid id)
{
if (id == Guid.Empty) throw new ArgumentNullException("The id received is null");
}
public void ValidateMageDto(MageDto dto)
{
}
public void ValidateMageDtoFilter(MageDtoFilter filter)
{
throw new NotImplementedException();
}
public void ValidateSpellDto(SpellDto dto)
{
throw new NotImplementedException();
}
public void ValidateSpellDtoFilter(SpellDtoFilter filter)
{
throw new NotImplementedException();
}
}
}