public async Task ApproveQuestionAsync(ApproveQuestionDTO question) { var dbQuestion = await _quesitonRepository.GetQuestionAsync(question.QuestionId); if (dbQuestion != null) { dbQuestion.IsApproved = question.QuestionApproved; dbQuestion.IsDeleted = question.DeleteQuestion; dbQuestion.DateApproved = DateTime.UtcNow; await _quesitonRepository.ApproveQuestionAsync(dbQuestion); } }