public async Task <IActionResult> Delete(int id) { try { await ProjectHandler.DeleteAsync(id); return(StatusCode((int)HttpStatusCode.NoContent)); } catch (Exception ex) { this.logger.LogError(ex.Message); return(StatusCode((int)HttpStatusCode.InternalServerError, ex.Message)); } }