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