public MyIdentity(int Id) { UserDAL userDAC = new UserDAL(); user = userDAC.GetUserById(Id); }
public MyIdentity(string UserId) { UserDAL userDAC = new UserDAL(); user = userDAC.GetUserByUserId(UserId); }