Exemple #1
0
        public async Task <IActionResult> GetUserProfile([FromRoute] int locationId)
        {
            var ret = await _repository.GetUserAccountAsync(locationId, User.Claims);

            if (ret == null)
            {
                return(BadRequest());
            }
            return(Ok(ret));
        }