Пример #1
0
        public async Task <IActionResult> ActiveInActiveUser(int id, bool status)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }


            _response = await _repo.ActiveInActiveUser(id, status);

            return(Ok(_response));
        }