public async Task <ActionResult> ClearAllTasks() { try { await _repository.ClearAllTasks(); return(Ok()); } catch (Exception ex) { return(StatusCode(500, ex)); } }
public async Task <ActionResult> ClearAllTasks() { try { await _repository.ClearAllTasks(); return(Ok()); } catch (Exception ex) { return(StatusCode(500, ex)); } }