public string GetSentMessageCount(string Userid, string profileids, string days) { try { int sentmessage = objScheduledMessageRepository.GetSentMessageCount(Guid.Parse(Userid), profileids, Int32.Parse(days)); return(sentmessage.ToString()); } catch (Exception ex) { return("0"); } }