コード例 #1
0
 public async Task<IHttpActionResult> RemoveUserFromGroupAsync(string userId, string groupId)
 {
     var operation = new TableDal(ConfigurationManager.AppSettings["storageConnection"], TableNames.UserGroupAssignments);
     var result = operation.RemoveUserAssignment(userId, groupId);
     return CreateSuccessResult(result);
 }