public static ContractDistributor NewEmpty()
 {
     return(new ContractDistributor()
     {
         Id = -1,
         IdB = string.Empty,
         ContractDate = DateTime.Now,
         Distributor = Distributor.NewEmpty(),
         GRVBayerEmployee = BayerEmployee.NewEmpty(),
         RTVBayerEmployee = BayerEmployee.NewEmpty(),
         Year = DateTime.Now.Year
     });
 }
Exemple #2
0
 public static DistributorEmployee NewEmpty()
 {
     return(new DistributorEmployee()
     {
         Id = -1,
         Distributor = Distributor.NewEmpty(),
         EMail = string.Empty,
         Name = string.Empty,
         LastNameF = string.Empty,
         LastNameM = string.Empty,
         PhoneNumber = string.Empty,
         User = User.NewEmpty(),
     });
 }