Ejemplo n.º 1
0
 public SpaceView(int id, string name, string description, int subscriptionCount, DateTime creationDate, UserView user)
 {
     Id                = id;
     Name              = name;
     Description       = description;
     SubscriptionCount = subscriptionCount;
     CreationDate      = creationDate;
     User              = user;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create  new user login.
 /// </summary>
 /// <param name="user">The user of the login.</param>
 /// <param name="authToken">Their JWT.</param>
 public UserLogin(UserView user, string authToken)
 {
     User      = user;
     AuthToken = authToken;
 }