Exemplo n.º 1
0
 public static BusinessLicenseDTO CreateBusinessLicenseDTO(int ID, global::System.DateTime issuedDate, int validMonths, global::System.DateTime expireDate, int state)
 {
     BusinessLicenseDTO businessLicenseDTO = new BusinessLicenseDTO();
     businessLicenseDTO.Id = ID;
     businessLicenseDTO.IssuedDate = issuedDate;
     businessLicenseDTO.ValidMonths = validMonths;
     businessLicenseDTO.ExpireDate = expireDate;
     businessLicenseDTO.State = state;
     return businessLicenseDTO;
 }
Exemplo n.º 2
0
 public void AddToBusinessLicenses(BusinessLicenseDTO businessLicenseDTO)
 {
     base.AddObject("BusinessLicenses", businessLicenseDTO);
 }