Ejemplo n.º 1
0
 public static CelebrityGroup Map(CelebrityGroupDto group)
 {
     return(new CelebrityGroup
     {
         CelebrityGroupId = group.CelebrityGroupId,
         CreatedBy = group.CreatedBy,
         DateCreated = group.DateCreated,
         DateEnded = group.DateEnded,
         DateFormed = group.DateFormed,
         DateUpdated = group.DateUpdated,
         Description = group.Description,
         Name = group.Name,
         StillActive = group.StillActive,
         UpdatedBy = group.UpdatedBy
     });
 }
Ejemplo n.º 2
0
 public CelebrityGroupDto Put(int id, CelebrityGroupDto actiondto)
 {
     return(cContract.Put(id, actiondto));
 }
 public CelebrityGroupDto Put(int id, CelebrityGroupDto actiondto)
 {
     return(new CelebrityGroupHandler(hContext).Update(id, actiondto));
 }
Ejemplo n.º 4
0
 public int Post(CelebrityGroupDto actionDto)
 {
     return(cContract.Post(actionDto));
 }
 public int Post(CelebrityGroupDto actionDto)
 {
     return(new CelebrityGroupHandler(hContext).Create(actionDto));
 }