Cordonel EOL API

This commit is contained in:
Stoyan Zlatev
2024-03-06 12:48:08 +01:00
parent ad7fbc5841
commit 372c8e4438
74 changed files with 23863 additions and 328 deletions
@@ -2,9 +2,8 @@
{
using LaaProduction.Personalization.Models;
using LaaProduction.Personalization.Repositories.Interfaces;
using LaaProduction.SQL.Interfaces;
using LaaProductionSQL.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -235,12 +234,12 @@
this.sqlConnection
.CreateCommand($@"
UPDATE [Mitarbeiter]
SET [EmployeeId] = ISNULL([EmployeeId] , @{nameof(employeeId)})
, [eMail] = ISNULL([eMail] , @{nameof(email)})
, [Telefon] = ISNULL([Telefon] , @{nameof(phone)})
, [Benutzername] = ISNULL([Benutzername] , @{nameof(username)})
, [DomainUser] = ISNULL([DomainUser] , @{nameof(domainname)})
, [PasswordHash] = ISNULL([PasswordHash] , @{nameof(password)})
SET [EmployeeId] = @{nameof(employeeId)}
, [eMail] = @{nameof(email)}
, [Telefon] = @{nameof(phone)}
, [Benutzername] = @{nameof(username)}
, [DomainUser] = @{nameof(domainname)}
, [PasswordHash] = @{nameof(password)}
WHERE [MitarbeiterNr] = @{nameof(employeeNr)}")
.SetParameter(nameof(employeeNr), employeeNr)
.SetParameter(nameof(employeeId), employeeId)
@@ -2,7 +2,7 @@
{
using LaaProduction.Personalization.Models;
using LaaProduction.Personalization.Repositories.Interfaces;
using LaaProductionSQL.Interfaces;
using LaaProduction.SQL.Interfaces;
using System.Collections.Generic;
@@ -1,7 +1,7 @@
namespace LaaProduction.Personalization.Repositories
{
using LaaProduction.Personalization.Repositories.Interfaces;
using LaaProductionSQL.Interfaces;
using LaaProduction.SQL.Interfaces;
using System.Collections.Generic;
using System.Data.SqlClient;
@@ -2,7 +2,7 @@
{
using LaaProduction.Personalization.Models;
using LaaProduction.Personalization.Repositories.Interfaces;
using LaaProductionSQL.Interfaces;
using LaaProduction.SQL.Interfaces;
using System.Collections.Generic;
using System.Data.SqlClient;
@@ -2,7 +2,7 @@
{
using LaaProduction.Personalization.Models;
using LaaProduction.Personalization.Repositories.Interfaces;
using LaaProductionSQL.Interfaces;
using LaaProduction.SQL.Interfaces;
using System;
using System.Collections.Generic;