Ejemplo n.º 1
0
 public DalRaw MapToDal(BllRaw entity)
 {
     return(new DalRaw
     {
         Id = entity.Id,
         Certificate = entity.Certificate,
         CertificateImage = entity.CertificateImage,
         DeliveryDate = entity.DeliveryDate,
         Documentation = entity.Documentation,
         IsValid = entity.IsValid,
         Name = entity.Name
     });
 }
Ejemplo n.º 2
0
        public BllRaw MapToBll(DalRaw entity)
        {
            BllRaw bllEntity = new BllRaw
            {
                Id               = entity.Id,
                Certificate      = entity.Certificate,
                CertificateImage = entity.CertificateImage,
                DeliveryDate     = entity.DeliveryDate,
                Documentation    = entity.Documentation,
                IsValid          = entity.IsValid,
                Name             = entity.Name
            };

            return(bllEntity);
        }