public IActionResult Register(Patient p)
        {
            _context.Patients.Add(p);
            _context.SaveChanges();

            return(Created(uri: "/api/Patients/", p));
        }
        public async Task <IActionResult> Add(Patient p)
        {
            _context.Patients.Add(p);
            _context.SaveChanges();

            await _sender.SendMessage(new MessagePayload()
            {
                EventName    = "NewUserRegistered",
                EmailAddress = "*****@*****.**",
                Title        = "COVID19",
                Message      = "Idziesz na kwarantanne!"
            });

            return(Created("/api/patients/", p));
        }