Пример #1
0
 public Task <RocketModel> EditRocket(
     [Service] IMediator mediator,
     EditRocket.Request request,
     CancellationToken cancellationToken
     )
 {
     return(mediator.Send(request, cancellationToken));
 }
 // ReSharper disable once RouteTemplates.ParameterTypeAndConstraintsMismatch
 public partial Task <ActionResult <RocketModel> > EditRocket([BindRequired][FromRoute] RocketId id, [BindRequired][FromBody] EditRocket.Request model);