hopefully not a horribly foolish refactoring

This commit is contained in:
john 2025-05-11 23:26:09 +02:00
parent 59d660165f
commit 1ecaf64dea
82 changed files with 782 additions and 398 deletions

View file

@ -1,3 +1,7 @@
namespace Femto.Common.Domain;
public class DomainException(string message) : Exception(message);
public class DomainException : Exception
{
public DomainException(string message, Exception innerException) : base(message, innerException) {}
public DomainException(string message) : base(message) {}
}

View file

@ -0,0 +1,7 @@
using MediatR;
namespace Femto.Common.Domain;
public interface ICommand : IRequest;
public interface ICommand<out T> : IRequest<T>;

View file

@ -0,0 +1,5 @@
using MediatR;
namespace Femto.Common.Domain;
public interface IQuery<out T> : IRequest<T>;