public void Create()
 {
     account.SelectedContractorID = 1;
     account.Date = DateTime.Now;
     try
     {
         rep.Create(account);
     }
     catch (Exception e)
     {
     }
 }
Exemple #2
0
 public void Create()
 {
     email.StatusID = 1;
     email.Date     = DateTime.Now;
     email.DateBack = DateTime.Now;
     try
     {
         rep.Create(email);
     }
     catch (Exception e)
     {
     }
 }
 public void Create()
 {
     contract.SelectedContractorID = 1;
     contract.StatusID             = 1;
     contract.Date = DateTime.Now;
     try
     {
         rep.Create(contract);
     }
     catch (Exception e)
     {
     }
 }