public async Task <ActionResult> ApproveComment(long id) { try { await repository.ApproveCommentAsync(id); return(Ok()); } catch (System.Exception) { return(NotFound(id)); } }