public async Task <IActionResult> GetAll()
        {
            var identity = _identityService.GetIdentity();

            if (identity == null)
            {
                return(Unauthorized());
            }
            var aEntities = await _someService.GetAll();

            return(Ok(aEntities));
        }
        public async Task <IActionResult> GetAll()
        {
            var users = await myClass.GetAll();

            return(Ok(users));
        }