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 }); }
public HologramEventDto Put(int id, HologramEventDto actiondto) { return(htContract.Put(actiondto.HologramEventId, actiondto)); }
public HologramEventDto Put(int id, HologramEventDto actiondto) { return(new HologramEventHandler(hContext).Update(id, actiondto)); }
public int Post(HologramEventDto actionDto) { return(htContract.Post(actionDto)); }
public int Post(HologramEventDto actionDto) { return(new HologramEventHandler(hContext).Create(actionDto)); }