internal static object restrarUsuarioAuth(UserOauthRegister userAuth) { try { using (FunnyPlaceBetaContext context = new FunnyPlaceBetaContext()) { context.Add <UserOauthRegister>(userAuth); context.SaveChanges(); return(true); } } catch (Exception _exc) { throw _exc; } }
internal static bool registrarUsuario(UserRegister u) { try { using (FunnyPlaceBetaContext context = new FunnyPlaceBetaContext()) { context.Add <UserRegister>(u); context.SaveChanges(); return(true); } } catch (Exception _exc) { throw _exc; } }