Add response without data
This commit is contained in:
parent
e85a4986e6
commit
4bb6a6cf18
@ -1,5 +1,5 @@
|
|||||||
namespace Leanetec.EConnect.Domain.Entities;
|
namespace Leanetec.EConnect.Domain.Entities;
|
||||||
|
|
||||||
public record Response<TData, TError>(bool Ok, TData? Data = null, TError? Error = null)
|
public record Response<TError>(bool Ok, TError? Error = null) where TError : class;
|
||||||
where TData : class
|
|
||||||
where TError : class;
|
public record Response<TData, TError>(bool Ok, TData? Data = null, TError? Error = null) where TData : class where TError : class;
|
||||||
Loading…
x
Reference in New Issue
Block a user