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 }); }
public CelebrityIndustryDto Put(int id, CelebrityIndustryDto actiondto) { return(new CelebrityIndustryHandler(hContext).Update(id, actiondto)); }
public CelebrityIndustryDto Put(int id, CelebrityIndustryDto actiondto) { return(cContract.Put(actiondto.CelebrityIndustryId, actiondto)); }
public int Post(CelebrityIndustryDto actionDto) { return(new CelebrityIndustryHandler(hContext).Create(actionDto)); }
public int Post(CelebrityIndustryDto actionDto) { return(cContract.Post(actionDto)); }