예제 #1
0
 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);
 }
예제 #2
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);
 }