コード例 #1
0
 public static HologramEvent Map(HologramEventDto hEvent)
 {
     return(new HologramEvent
     {
         CellPhone = hEvent.CellPhone,
         City = hEvent.City,
         Country = hEvent.Country,
         CreatedBy = hEvent.CreatedBy,
         DateCreated = hEvent.DateCreated,
         DateUpdated = hEvent.DateUpdated,
         Deleted = hEvent.Deleted,
         Description = hEvent.Description,
         Email = hEvent.Email,
         EventDate = hEvent.EventDate,
         HologramEventId = hEvent.HologramEventId,
         HologramTypeId = hEvent.HologramTypeId,
         LandPhone = hEvent.LandPhone,
         Name = hEvent.Name,
         Pincode = hEvent.Pincode,
         State = hEvent.State,
         StreetAddress = hEvent.StreetAddress,
         UpdatedBy = hEvent.UpdatedBy
     });
 }
コード例 #2
0
 public HologramEventDto Put(int id, HologramEventDto actiondto)
 {
     return(htContract.Put(actiondto.HologramEventId, actiondto));
 }
コード例 #3
0
 public HologramEventDto Put(int id, HologramEventDto actiondto)
 {
     return(new HologramEventHandler(hContext).Update(id, actiondto));
 }
コード例 #4
0
 public int Post(HologramEventDto actionDto)
 {
     return(htContract.Post(actionDto));
 }
コード例 #5
0
 public int Post(HologramEventDto actionDto)
 {
     return(new HologramEventHandler(hContext).Create(actionDto));
 }