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

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

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