Cordonel EOL API
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user