refactor(DataResult): update to execute if NET
This commit is contained in:
parent
e74a740abd
commit
07ab7f0c62
@ -1,4 +1,5 @@
|
||||
using System.Text.Json.Serialization;
|
||||
#if NET
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace DigitalData.Core.Abstraction.Application.DTO;
|
||||
|
||||
@ -26,3 +27,4 @@ public class DataResult<T> : Result
|
||||
[Obsolete("Use DigitalData.Core.Exceptions and .Middleware")]
|
||||
public DataResult<I> ToFail<I>() => Fail<I>().Message(Messages).Notice(Notices);
|
||||
}
|
||||
#endif
|
||||
Loading…
x
Reference in New Issue
Block a user