public void AddTaskNotification(string content, DateTime added) { var message = String.Format("New task {0} added on {1}", content, added); pubnub.Publish(channel, message); }
public void AddTaskNotification(string content, DateTime added, string name) { var message = String.Format("User {0} added new task {1} on {2}", name, content, added); pubnub.Publish(channel, message); }