Retail_manager/RMWPFInterfaceLibrary/Models/LoggedInUserModel.cs
s459315 5c2b914884 Fix Log Off Bug
fixes the bug where header was not being cleared on log off
2022-07-30 14:21:25 +02:00

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