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}")); }
public ActionResult ReceivedDetails(int id) { var detail = SmsReceivedMessagesModel.Detail(CurrentDatabase, id); return(View(detail)); }
public ActionResult Received(SmsReceivedMessagesModel m) { return(View(m)); }
public ContentResult ReplyingTo(int id) { var d = SmsReceivedMessagesModel.FetchReplyToData(CurrentDatabase, id); return(Content(JsonConvert.SerializeObject(d))); }
public ContentResult TextReceived(SmsReceivedMessagesModel m) { var guid = m.ToolBarSend(); return(Content($"/SMS/Options/{guid}")); }
public ContentResult EmailReceived(SmsReceivedMessagesModel m) { var guid = m.ToolBarSend(); return(Content($"/Email/{guid}")); }
public EpplusResult ExportReceived(SmsReceivedMessagesModel m) { return(m.ExportReceived()); }
public ContentResult TagReceived(string tagname, bool?cleartagfirst, SmsReceivedMessagesModel m) { m.TagAll(tagname, cleartagfirst); return(Content("Added to Tag")); }