Skip to content

EqControllerBaseExtentions class

Contains useful expression which allows to build some specific IActionResult objects.

public static class Korzh.EasyQuery.AspNetCore.EqControllerBaseExtentions
TypeNameDescription
EqOkResultEqOk(this ControllerBase controller, Object data)An extension function which returns an action result with 200 (OK) status code and some additional data (in JSON) in the response body.