コード例 #1
0
        public string GetAllSentMessageDetailsForCustomrange(string userid, string profileid, string sdate, string ldate)
        {
            List <Domain.Socioboard.Domain.ScheduledMessage> _ScheduledMessage = new List <Domain.Socioboard.Domain.ScheduledMessage>();

            try
            {
                _ScheduledMessage = objScheduledMessageRepository.getAllSentMessageDetailsForCustomrange(Guid.Parse(userid), profileid, Convert.ToDateTime(sdate), Convert.ToDateTime(ldate));
            }
            catch (Exception ex)
            {
                logger.Error(ex.Message);
                Console.WriteLine(ex.StackTrace);
            }

            return(new JavaScriptSerializer().Serialize(_ScheduledMessage));
        }