示例#1
0
 public async Task<IHttpActionResult> GetUsersAsync(string roleId)
 {
     var operation = new TableDal(ConfigurationManager.AppSettings["storageConnection"], TableNames.UserAdminRoleAssignments);
     var result = (IEnumerable<UserAdminRoleAssignmentEntity>)(operation.RetrieveUsersByRoleId(roleId));
     return CreateSuccessResult(result);
 }