// ReSharper disable once RouteTemplates.ParameterTypeAndConstraintsMismatch
 public partial Task <ActionResult <LaunchRecordModel> > GetRocketLaunchRecord(GetRocketLaunchRecord.Request request);
Esempio n. 2
0
        public partial async Task <ActionResult> GetRocketLaunchRecord(Guid id, Guid launchRecordId, [Bind(), CustomizeValidator(Properties = "")][BindRequired][FromRoute] GetRocketLaunchRecord.Request request)
        {
            var result = await Mediator.Send(request with {
                Id = id, LaunchRecordId = launchRecordId
            }, HttpContext.RequestAborted).ConfigureAwait(false);

            return(new StatusCodeResult(204));
        }