update 09082021
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user