public IActionResult GetUsers() { try { var users = new UsersService(_context).GetUsers(); if (!users.Any()) { return(NotFound()); } return(Ok(users)); } catch (System.Exception) { throw; } }