public IActionResult Delete(Guid id) { return(ApiAction(() => { _dummyService.Delete(id); return Accepted(); })); }
public async Task <IActionResult> Delete(string id) { await _dummyService.Delete(id); return(Ok()); }