Skip to content

EndpointExtensions.UseConnection<TResponse> method

namespace: Serenity.Services   assemblySerenity.Net.Web

public static Result<TResponse> UseConnection<TResponse>(this Controller controller, 
    string connectionKey, Func<IDbConnection, TResponse> handler)
    where TResponse : ServiceResponse, new()

See Also