private int AssignDTOFromEntity(ref Mugurtham.DTO.ProfileInterested.ProfileInterested objDTOProfileInterested, ref Mugurtham.Core.ProfileInterested.ProfileInterestedCoreEntity objProfileInterestedCoreEntity) { try { objDTOProfileInterested.ViewerID = objProfileInterestedCoreEntity.ViewerID; objDTOProfileInterested.InterestedInID = objProfileInterestedCoreEntity.InterestedInID; objDTOProfileInterested.InterestedDate = DateTime.Now; } 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); }