Exemple #1
0
        public ContentResult TagReceivedDialog(SmsReceivedMessagesModel m)
        {
            var q      = m.DefineModelList().Select(p => p.Person.PeopleId);
            var i      = q.Distinct().Count();
            var people = i == 1 ? "person" : "people";

            return(Content($"{i} {people}"));
        }
Exemple #2
0
        public ActionResult ReceivedDetails(int id)
        {
            var detail = SmsReceivedMessagesModel.Detail(CurrentDatabase, id);

            return(View(detail));
        }
Exemple #3
0
 public ActionResult Received(SmsReceivedMessagesModel m)
 {
     return(View(m));
 }
Exemple #4
0
        public ContentResult ReplyingTo(int id)
        {
            var d = SmsReceivedMessagesModel.FetchReplyToData(CurrentDatabase, id);

            return(Content(JsonConvert.SerializeObject(d)));
        }
Exemple #5
0
        public ContentResult TextReceived(SmsReceivedMessagesModel m)
        {
            var guid = m.ToolBarSend();

            return(Content($"/SMS/Options/{guid}"));
        }
Exemple #6
0
        public ContentResult EmailReceived(SmsReceivedMessagesModel m)
        {
            var guid = m.ToolBarSend();

            return(Content($"/Email/{guid}"));
        }
Exemple #7
0
 public EpplusResult ExportReceived(SmsReceivedMessagesModel m)
 {
     return(m.ExportReceived());
 }
Exemple #8
0
 public ContentResult TagReceived(string tagname, bool?cleartagfirst, SmsReceivedMessagesModel m)
 {
     m.TagAll(tagname, cleartagfirst);
     return(Content("Added to Tag"));
 }