public DeleteClientCommand(DeleteClientContract contract)
 {
     Contract = contract;
 }
Example #2
0
        public async Task <IActionResult> Delete([FromBody] DeleteClientContract contract)
        {
            var result = await mediator.Send(new DeleteClientCommand(contract));

            return(Ok());
        }