/* public CustomerDataAccessService(IApplicationDbContext dbContext)
 {
     storeDB = dbContext;
    }*/
 public int GetCustomerIdNumber(string username)
 {
     HiLToysDataModel.Models.Customer customer = new HiLToysDataModel.Models.Customer();
     customer = storeDB.Customers.Single(
                susername => susername.Username == username);
     return customer.CustomerID;
 }
        public void MigrateUser(string Email, string FirstName, string LastName)
        {
            var  customer = new HiLToysDataModel.Models.Customer()
            {
                Username = Email,
                FirstName = FirstName,
                LastName = LastName,
                Mail = Email

            };

              storeDB.Customers.Add(customer);
              storeDB.SaveChanges();
        }