//Add to DB public void Add(ContactType2 contactType) { string adminUserGuid = HttpContext.Current.User.Identity.Name.Split(new[] { '|' })[0]; db.spDesktopDataAdmin_InsertContactType_v1( contactType.ContactTypeDescription, adminUserGuid ); }
//Delete From DB public void Delete(ContactType2 contactType) { string adminUserGuid = HttpContext.Current.User.Identity.Name.Split(new[] { '|' })[0]; db.spDesktopDataAdmin_DeleteContactType_v1( contactType.ContactTypeId, adminUserGuid, contactType.VersionNumber ); }