x
This commit is contained in:
@@ -190,7 +190,7 @@ namespace IRaCIS.Core.Infrastructure.Extention
|
||||
/// <returns></returns>
|
||||
public static IResponseOutput<T> Result<T>(bool success, T data = default)
|
||||
{
|
||||
return success ? Ok<T>(data) : NotOk<T>("Saved failed");
|
||||
return success ? Ok<T>(data) : NotOk<T>("Saved failed",data);
|
||||
}
|
||||
|
||||
///// <summary>
|
||||
|
||||
Reference in New Issue
Block a user