Browse Source

Bugfix in ChildManager, removed unused AuthChild

master
Daniel Gyulai 4 years ago
parent
commit
2e9cd83c20
  1. 2
      CoviDok/BLL/User/Managers/ChildManager.cs
  2. 16
      CoviDok/api/Request/AuthChild.cs

2
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<PublicChild> GetChild(Session s, int id)
{
Child child = await handler.GetChild(id);

16
CoviDok/api/Request/AuthChild.cs

@ -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; }
}
}
Loading…
Cancel
Save