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