public async Task <IActionResult> Remove([FromBody][Required] RemoveEventRequest request) { var input = new RemoveEventInput(request.EventId); await _useCase.Execute(input); return(_presenter.ViewModel); }
public async Task NullInput_ShouldThrow() { await Assert.ThrowsAsync <Exception>(async() => { await _useCase.Execute(null); }); }