EndpointExtensions.UseConnection<TResponse> method
namespace: Serenity.Services assembly: Serenity.Net.Web
public static Result<TResponse> UseConnection<TResponse>(this Controller controller,
string connectionKey, Func<IDbConnection, TResponse> handler)
where TResponse : ServiceResponse, new()
See Also
- class Result<TResponse>
- class TResponse
- class ServiceResponse
- class EndpointExtensions