public async Task <IActionResult> AddToksToSet(string setId, List <string> tokIds) { ResultViewModel result = new ResultViewModel() { ResultEnum = Result.Failed, ResultMessage = "Saving Failed!" }; if (tokIds.Count > 0) { var flag = await _setService.AddToksToSetAsync(setId, User.GetUserId(), tokIds.ToArray()); if (flag) { result.ResultEnum = Result.Success; result.ResultMessage = "Save Successful!"; } } return(Json(result)); }