public static int ChangePassword(string newpwd, Entity.SuperAdminInfo sa)
 {
     string[] names  = new string[] { "SuperAdminPassword", "SuperAdminID" };
     string[] values = new string[] { newpwd, sa.SuperAdminID };
     return(DataAccess.Operations.ExecuteSQLByQuery("SuperAdmin_ChangePassword", CommandType.StoredProcedure, names, values));
 }
 public static int SuperAdminLoginCheck(Entity.SuperAdminInfo sa)
 {
     string[] names  = new string[] { "SuperAdminID", "SuperAdminPassWord" };
     string[] values = new string[] { sa.SuperAdminID, sa.SuperAdminPassWord };
     return(DataAccess.Operations.ExecuteSQLByScalar("SuperAdminLoginCheck", CommandType.StoredProcedure, names, values));
 }