public async Task <IActionResult> DeleteQuestion(int id) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } _response = await _repo.DeleteQuestion(id); return(Ok(_response)); }
public async Task <IActionResult> DeleteQuestion(int id) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } _response = await _repo.DeleteQuestion(id); return(Ok(_response)); }