update 09082021

This commit is contained in:
2021-08-09 14:40:01 +02:00
parent 4d443fdfd4
commit 595cd0edea
96 changed files with 4513 additions and 1433 deletions

View File

@@ -20,6 +20,7 @@ namespace BlazorApp.Controller
return dbh.ConvertDataTable<Beruf>(dbh.dsdaten.Tables[0]);
}
public static List<Beruf> GetAllAktiveData()
{
dbhelper dbh = new dbhelper();
@@ -110,6 +111,13 @@ namespace BlazorApp.Controller
dbhelper dbh = new dbhelper();
dbh.Get_Tabeldata_for_Update("delete from [Beruf] where id=" + Berufdata.ID.ToString(), false, true);
}
public static List<Beruf> GetBerufsangebot()
{
dbhelper dbh = new dbhelper();
dbh.Get_Tabledata("Select Beruf.* from dbo.FirmaBeruf INNER JOIN dbo.Firma ON dbo.FirmaBeruf.ID = dbo.Firma.ID INNER JOIN dbo.Beruf ON dbo.FirmaBeruf.ID = dbo.Beruf.ID WHERE(dbo.Beruf.aktiv = 1) AND(dbo.FirmaBeruf.aktiv = 1) AND(dbo.Firma.aktiv = 1) AND(dbo.Firma.aktuell = 1)", false, true);
return dbh.ConvertDataTable<Beruf>(dbh.dsdaten.Tables[0]);
}
}