public TpUserMappingInfo GetTpUserByLogin(string userLogin)
 {
     return(TpUsers.FirstOrDefault(x => x.Login == userLogin));
 }
 public TpUserMappingInfo GetTpUserByName(string userName)
 {
     return(TpUsers.FirstOrDefault(x => x.Name == userName));
 }