public static EmploymentViewModel DecryptEmployment(EmploymentViewModel employment)
 {
     employment.EmploymentPosition = StringCipher.Decrypt(employment.EmploymentPosition, EncryptKey);
     return(employment);
 }
 public static string DecryptUserName(string username)
 {
     return(StringCipher.Decrypt(username, EncryptKey));
 }
 public static GPSCoordinateModel EncryptGPSCoordinate(GPSCoordinateModel gpscoord)
 {
     gpscoord.Latitude  = StringCipher.Encrypt(gpscoord.Latitude, EncryptKey);
     gpscoord.Longitude = StringCipher.Encrypt(gpscoord.Longitude, EncryptKey);
     return(gpscoord);
 }