5c2b914884
fixes the bug where header was not being cleared on log off
29 lines
736 B
C#
29 lines
736 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace RMWPFInterfaceLibrary.Models
|
|
{
|
|
public class LoggedInUserModel : ILoggedInUserModel
|
|
{
|
|
public string Token { get; set; }
|
|
public string Id { get; set; }
|
|
public string FirstName { get; set; }
|
|
public string LastName { get; set; }
|
|
public string EmailAddress { get; set; }
|
|
public DateTime CreatedDate { get; set; }
|
|
|
|
public void ResetUserModel()
|
|
{
|
|
Token = "";
|
|
Id = "";
|
|
FirstName = "";
|
|
LastName = "";
|
|
EmailAddress = "";
|
|
CreatedDate = DateTime.MinValue;
|
|
}
|
|
}
|
|
}
|