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; }
/// <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; }