function UserAccessViewModel(data) {
this.Id = data.Id;
this.Name = data.Username;
this.Type = 'user';
}
function TeamAccessViewModel(data) {
this.Name = data.Name;
this.Type = 'team';