/// <summary>
 /// SetUserRegistration method implementation
 /// </summary>
 internal static Registration SetUserRegistration(Registration reg, bool resetkey = false, bool caninsert = true, bool email = false)
 {
     EnsureService();
     return(RuntimeRepository.SetUserRegistration(Config, reg, resetkey, caninsert, email));
 }
 /// <summary>
 /// SetUserRegistration method implementation
 /// </summary>
 internal static Registration SetUserRegistration(Registration reg, bool resetkey = false)
 {
     EnsureService();
     return(RuntimeRepository.SetUserRegistration(Config, reg, resetkey));
 }