public int SubmitTimeLine(int UserID, TimeLineBO timelineBO) { TimeLine tline = new TimeLine(); ObjectMapper.Map(timelineBO, tline); return(WeddingRepository.SubmitTimeLine(UserID, tline)); }
public TimeLineBO GetTimeLineDetailsByID(int timeLineID) { TimeLineBO timeline = new TimeLineBO(); ObjectMapper.Map(WeddingRepository.GetTimeLineDetailsByID(timeLineID), timeline); timeline.ImageUrl = timeline.ImageUrl.Replace("{D}", AppUtil.GetAppSettings(AspectEnums.ConfigKeys.USERFOLDER).ToString()).Replace("{0}", timeline.TimeLineID.ToString()); return(timeline); }