Initial commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
namespace WebDesktopBackend.LogicResults {
|
||||
public interface ILogicResult
|
||||
{
|
||||
LogicResultState State { get; set; }
|
||||
|
||||
string Message { get; set; }
|
||||
|
||||
bool IsSuccessful { get; }
|
||||
}
|
||||
|
||||
public interface ILogicResult<T>
|
||||
{
|
||||
LogicResultState State { get; set; }
|
||||
|
||||
T Data { get; set; }
|
||||
|
||||
string Message { get; set; }
|
||||
|
||||
bool IsSuccessful { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user