public async Task <IActionResult> SignUp([FromBody] SignUp model)
        {
            try
            {
                var user = new User
                {
                    FirstName = model.FirstName,
                    LastName  = model.LastName,
                    Email     = model.Email
                };
                user.CreatePassword(model.Password);

                if (!_context.Users.Any(u => u.Email == user.Email))
                {
                    _context.Users.Add(user);
                    await _context.SaveChangesAsync();

                    return(new OkResult());
                }
                return(new BadRequestResult());
            }
            catch
            {
                return(new BadRequestResult());
            }
        }