Example #1
0
 public object Post(Tool tool)
 {
     var newTool = Repository.Store(tool);
     ClioHubManager.NewTool(User, tool);
     return newTool;
 }
Example #2
0
 public object Put(Tool tool)
 {
     var editTool = Repository.Store(tool);
     ClioHubManager.EditTool(User, tool);
     return editTool;
 }
Example #3
0
 public static void NewTool(User user, Tool tool)
 {
     var clients = GlobalHost.ConnectionManager.GetHubContext<ClioHub>().Clients;
     clients.All.addTool(user, tool);
 }