Esempio n. 1
0
        public int SubmitTimeLine(int UserID, TimeLineBO timelineBO)
        {
            TimeLine tline = new TimeLine();

            ObjectMapper.Map(timelineBO, tline);
            return(WeddingRepository.SubmitTimeLine(UserID, tline));
        }
Esempio n. 2
0
        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);
        }