Example #1
0
        public async Task <JsonResult> GenUserCardToken(string userId)
        {
            var token = _companyuserreporepo.GenerateNewCardToken(userId, "", false);

            return(await Task.FromResult(Json(new { isSuccess = true, CardTag = token, cmd = "generate" })));
        }