Ejemplo n.º 1
0
        public string GetAllScheduledMessageByMonth(string userid, string profileid, string month)
        {
            List <Domain.Socioboard.Domain.ScheduledMessage> _ScheduledMessage = new List <Domain.Socioboard.Domain.ScheduledMessage>();

            try
            {
                _ScheduledMessage = objScheduledMessageRepository.getAllSentMessageDetailsByMonth(Guid.Parse(userid), profileid, Convert.ToInt32(month));
            }
            catch (Exception ex)
            {
                logger.Error(ex.Message);
                Console.WriteLine(ex.StackTrace);
            }

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