Example #1
0
 public object Put(Tag tag)
 {
     var editTag = Repository.Store(tag);
     ClioHubManager.EditTag(User, editTag);
     return editTag;
 }
Example #2
0
 public static void NewTag(User user, Tag tag)
 {
     var clients = GlobalHost.ConnectionManager.GetHubContext<ClioHub>().Clients;
     clients.All.addTag(user, tag);
 }
Example #3
0
 public object Post(Tag tag)
 {
     var newTag = Repository.Store(tag);
     ClioHubManager.NewTag(User, newTag);
     return newTag;
 }