From 2e9cd83c206b2d76ae1efd1043256e85a0d6820e Mon Sep 17 00:00:00 2001 From: Daniel Gyulai Date: Thu, 19 Nov 2020 10:10:04 +0100 Subject: [PATCH] Bugfix in ChildManager, removed unused AuthChild --- CoviDok/BLL/User/Managers/ChildManager.cs | 2 +- CoviDok/api/Request/AuthChild.cs | 16 ---------------- 2 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 CoviDok/api/Request/AuthChild.cs diff --git a/CoviDok/BLL/User/Managers/ChildManager.cs b/CoviDok/BLL/User/Managers/ChildManager.cs index 70d0a0a..05be2cc 100644 --- a/CoviDok/BLL/User/Managers/ChildManager.cs +++ b/CoviDok/BLL/User/Managers/ChildManager.cs @@ -13,7 +13,7 @@ namespace CoviDok.Data.MySQL { public class ChildManager { - private readonly IChildHandler handler; + private readonly IChildHandler handler = new MySqlChildHandler(); public async Task GetChild(Session s, int id) { Child child = await handler.GetChild(id); diff --git a/CoviDok/api/Request/AuthChild.cs b/CoviDok/api/Request/AuthChild.cs deleted file mode 100644 index 9afa0d3..0000000 --- a/CoviDok/api/Request/AuthChild.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; - -namespace CoviDok.Api.Request -{ - public class AuthChild - { - public string SessionID { get; set; } - public string FirstName { get; set; } - public string LastName { get; set; } - public string BirthDate { get; set; } - public string SocSecNum { get; set; } - } -}