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; } - } -}