Ejemplo n.º 1
0
 public SalutationHelper(API.LABURNUM.COM.Salutation salutation)
 {
     if (salutation == null)
     {
         throw new Exception(API.LABURNUM.COM.Component.Constants.ERRORMESSAGES.PARAMETER_CANNOT_BE_NULL);
     }
     ;
     this.Salutations = new List <API.LABURNUM.COM.Salutation>();
     this.Salutations.Add(salutation);
 }
Ejemplo n.º 2
0
 private DTO.LABURNUM.COM.SalutationModel MapCore(API.LABURNUM.COM.Salutation salutation)
 {
     DTO.LABURNUM.COM.SalutationModel dtoClass = new DTO.LABURNUM.COM.SalutationModel()
     {
         SalutationId = salutation.SalutationId,
         Name         = salutation.Name,
         CreatedOn    = salutation.CreatedOn,
         IsActive     = salutation.IsActive,
         LastUpdated  = salutation.LastUpdated
     };
     return(dtoClass);
 }