using System; using System.Collections.Generic; using System.Linq; using System.Web; using Tango.TCC.BL.Web; using Tango.TCC.Service.Models; namespace Tango.TCC.Service.Messages { public class LoginUserResponse { public User UserData { get; set; } public DateTime LoginDate { get;set;} public DateTime ExpirationDate { get; set; } public bool IsExpired { get; set; } public LoginUserResponse(string userName, string firstName, string lastName, long userID, DateTime expirationDate) { UserData = new User(userName, firstName, lastName, userID); ExpirationDate = expirationDate; LoginDate = DateTime.Now; } public LoginUserResponse() { LoginDate = DateTime.Now; } } }