コード例 #1
0
 public static CelebrityIndustry Map(CelebrityIndustryDto cIndus)
 {
     return(new CelebrityIndustry
     {
         UpdatedBy = cIndus.UpdatedBy,
         Description = cIndus.Description,
         Name = cIndus.Name,
         CelebrityIndustryId = cIndus.CelebrityIndustryId,
         CreatedBy = cIndus.CreatedBy,
         DateCreated = cIndus.DateCreated,
         DateUpdated = cIndus.DateUpdated
     });
 }
コード例 #2
0
 public CelebrityIndustryDto Put(int id, CelebrityIndustryDto actiondto)
 {
     return(new CelebrityIndustryHandler(hContext).Update(id, actiondto));
 }
コード例 #3
0
 public CelebrityIndustryDto Put(int id, CelebrityIndustryDto actiondto)
 {
     return(cContract.Put(actiondto.CelebrityIndustryId, actiondto));
 }
コード例 #4
0
 public int Post(CelebrityIndustryDto actionDto)
 {
     return(new CelebrityIndustryHandler(hContext).Create(actionDto));
 }
コード例 #5
0
 public int Post(CelebrityIndustryDto actionDto)
 {
     return(cContract.Post(actionDto));
 }