private int AssignEntityFromDTO(ref ProfileInterestedCoreEntity objProfileInterestedCoreEntity, Mugurtham.DTO.ProfileInterested.ProfileInterested objDTOProfileInterested) { try { objProfileInterestedCoreEntity.ID = objDTOProfileInterested.ID; objProfileInterestedCoreEntity.ViewerID = objDTOProfileInterested.ViewerID; objProfileInterestedCoreEntity.InterestedInID = objDTOProfileInterested.InterestedInID; objProfileInterestedCoreEntity.InterestedDate = objDTOProfileInterested.InterestedDate; } catch (Exception objEx) { Helpers.LogExceptionInFlatFile(objEx); } return(0); }
private int AssignEntityFromDTO(ref ProfileInterestedCoreEntity objProfileInterestedCoreEntity, Mugurtham.DTO.ProfileInterested.ProfileInterested objDTOProfileInterested) { try { objProfileInterestedCoreEntity.ID = objDTOProfileInterested.ID; objProfileInterestedCoreEntity.ViewerID = objDTOProfileInterested.ViewerID; objProfileInterestedCoreEntity.InterestedInID = objDTOProfileInterested.InterestedInID; objProfileInterestedCoreEntity.InterestedDate = objDTOProfileInterested.InterestedDate; } catch (Exception objEx) { Helpers.LogExceptionInFlatFile(objEx); } return 0; }