public static int Create(Models.AddressBookEntry model)
 {
     return(Sql.ExecuteScalar <int>(
                "AddressBook_CreateEntry",
                new Dictionary <string, object>()
     {
         { "teamId", model.teamId },
         { "email", model.email },
         { "firstname", model.firstname },
         { "lastname", model.lastname }
     }
                ));
 }
 public static void Update(Models.AddressBookEntry model)
 {
     Sql.ExecuteNonQuery(
         "AddressBook_UpdateEntry",
         new Dictionary <string, object>()
     {
         { "addressId", model.addressId },
         { "email", model.email },
         { "firstname", model.firstname },
         { "lastname", model.lastname }
     }
         );
 }