public bool Insert(int ContactTypeId, string Name, DateTime ModifiedDate) { ContactTypeDAC contacttypeComponent = new ContactTypeDAC(); return(contacttypeComponent.InsertNewContactType(ContactTypeId, Name, ModifiedDate)); }
public bool Insert(ContactType contacttype) { ContactTypeDAC contacttypeComponent = new ContactTypeDAC(); return(contacttypeComponent.InsertNewContactType(contacttype.ContactTypeId, contacttype.Name, contacttype.ModifiedDate)); }