Exemple #1
0
 public static void Create(TbContact contact)
 {
     using (DataAccess.Contact db = new DataAccess.Contact())
     {
         contact.RegisterDate = DateTime.Now;
         contact.Status = "1";
         db.Create(contact);
     }
 }
Exemple #2
0
 public System.Threading.Tasks.Task AddContactAsync(DataAccess.Contact contact)
 {
     return(base.Channel.AddContactAsync(contact));
 }
Exemple #3
0
 public void AddContact(DataAccess.Contact contact)
 {
     base.Channel.AddContact(contact);
 }