public async Task <IActionResult> Delete(int id) { var result = await _service.Delete(id); return(result ? (IActionResult)Ok() : NotFound()); }
public async Task <IActionResult> Delete(int id) { var result = await _service.Delete(id); return(result ? (IActionResult)Ok() : NotFound()); }