Example #1
0
        public async Task <IActionResult> AddUser(string key, string userKey)
        {
            try
            {
                await _hiarcDatabase.AddUserToGroup(key, userKey);

                return(Ok(new Empty()));
            }
            catch (Exception ex)
            {
                return(BuildErrorResponse(ex, _logger));
            }
        }