Update vor Clone
This commit is contained in:
1 parent
70148e63ce
commit
c05d1ac4e2
612 files changed
+72932
-2064
No files matched your search
@@ -20,13 +20,25 @@ namespace BlazorApp.Controller
|
||||
return dbh.ConvertDataTable<Lehrer>(dbh.dsdaten.Tables[0]);
|
||||
}
|
||||
|
||||
public static List<Lehrer> GetAllActiveData()
|
||||
{
|
||||
dbhelper dbh = new dbhelper();
|
||||
dbh.Get_Tabledata("Select * from Lehrer where aktiv=1", false, true);
|
||||
return dbh.ConvertDataTable<Lehrer>(dbh.dsdaten.Tables[0]);
|
||||
}
|
||||
|
||||
public static List<Lehrer> GetByID(int ID)
|
||||
{
|
||||
dbhelper dbh = new dbhelper();
|
||||
dbh.Get_Tabledata("Select * from Lehrer where id=" + ID.ToString(), false, true);
|
||||
return dbh.ConvertDataTable<Lehrer>(dbh.dsdaten.Tables[0]);
|
||||
}
|
||||
|
||||
public static List<Lehrer> GetByEMail(string EMail)
|
||||
{
|
||||
dbhelper dbh = new dbhelper();
|
||||
dbh.Get_Tabledata("Select * from Lehrer where aktiv=1 and EMail='" + EMail+"'", false, true);
|
||||
return dbh.ConvertDataTable<Lehrer>(dbh.dsdaten.Tables[0]);
|
||||
}
|
||||
public static List<Lehrer> GetByUserID(string UserID)
|
||||
{
|
||||
dbhelper dbh = new dbhelper();
|
||||
|
||||
Reference in new issue
Block a user