/// <summary>
 /// Saves a restration to the database
 /// </summary>
 /// <param name="registration">The registration to save</param>
 /// <returns>awaitable Task</returns>
 public async Task SaveRegistrationAsync(SerialRegistration registration)
 {
     using (var db = new AcmeDrawDatabase())
     {
         await db.InsertAsync(registration);
     }
 }
        private SerialRegistration CreateRegistration(string serial)
        {
            var reg = new SerialRegistration(
                "Kenneth",
                "Jakobsen",
                "*****@*****.**",
                "+45 22 22 58 05",
                new DateTime(1983, 4, 27),
                serial,
                DateTime.UtcNow);

            _registeredSerials.Add(reg);
            return(reg);
        }