Skip to content

Commit

Permalink
remove un-used ActionResult builders
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Jan 31, 2025
1 parent 6fd1e57 commit 5063c01
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,9 @@ protected ActionResult(bool isSuccess, object? result)

public object? Result { get; }

public static ActionResult Ok(object result)
=> new(true, result);

public static ActionResult<TResult> Ok<TResult>(TResult result)
=> new(true, result);

public static ActionResult Fail()
=> new(false, default);

public static ActionResult<TResult> Fail<TResult>()
=> new(false, default);
}
Expand Down

0 comments on commit 5063c01

Please sign in to comment.