public async Task <Core.Notification> Handle(CreateCustomerCommand request, CancellationToken cancellationToken) { Core.Notification result = new Core.Notification(); return(result); }
public async Task <IActionResult> Create([FromBody] CreateCustomerCommand customer) { Core.Notification result = await _mediator.Send(customer); return(Ok(result)); }