public Task <LaunchRecordModel> EditLaunchRecord( [Service] IMediator mediator, EditLaunchRecord.Request request, CancellationToken cancellationToken ) { return(mediator.Send(request, cancellationToken)); }
// ReSharper disable once RouteTemplates.ParameterTypeAndConstraintsMismatch public partial Task <ActionResult> EditLaunchRecord([BindRequired][FromRoute] LaunchRecordId id, EditLaunchRecord.Request model);