Пример #1
0
        private static void UpdateContact(SqlCrud sql)
        {
            PeopleModel contact = new PeopleModel
            {
                Id        = 1,
                FirstName = "Doina",
                LastName  = "Stef"
            };

            sql.UpdateContactName(contact);
        }
Пример #2
0
        private static void UpdateContact(SqlCrud sql)
        {
            BasicContactModel contact = new BasicContactModel
            {
                Id        = 1,
                FirstName = "fName1z",
                LastName  = "lName1"
            };

            sql.UpdateContactName(contact);
        }