Ejemplo n.º 1
0
 public BE.ClientCardInfo GetByClientGuid(Guid clientGuid)
 {
     DA.ClientCardInfoGateway gateway = new DA.ClientCardInfoGateway();
     var clientCardInfo = gateway.GetByClientGuid(clientGuid);
     if (clientCardInfo == null)
         return null;
     BE.ClientCardInfo result = new BE.ClientCardInfo();
     result = clientCardInfo.ToBusinessEntity();
     return result;
 }
Ejemplo n.º 2
0
 public void UpdateClientCardInfo(BE.ClientCardInfo entity)
 {
     DA.ClientCardInfoGateway gateway = new DA.ClientCardInfoGateway();
     gateway.Update(entity.ToDataEntity());
 }
Ejemplo n.º 3
0
 public BE.ClientCardInfo InsertClientCardInfo(BE.ClientCardInfo entity)
 {
     DA.ClientCardInfoGateway gateway = new DA.ClientCardInfoGateway();
     DA.ClientCardInfo result = gateway.Insert(entity.ToDataEntity());
     return result.ToBusinessEntity();
 }