Example #1
0
 public object Put(User user)
 {
     var editUser = Repository.Store(user);
     ClioHubManager.EditUser(User, editUser);
     return editUser;
 }
Example #2
0
 public static void NewTool(User user, Tool tool)
 {
     var clients = GlobalHost.ConnectionManager.GetHubContext<ClioHub>().Clients;
     clients.All.addTool(user, tool);
 }
Example #3
0
 public object Post(User user)
 {
     var newUser = Repository.Store(user);
     ClioHubManager.NewUser(User, newUser);
     return newUser;
 }
Example #4
0
 public static void NewTechnology(User user, Technology technology)
 {
     var clients = GlobalHost.ConnectionManager.GetHubContext<ClioHub>().Clients;
     clients.All.addTechnology(user, technology);
 }
Example #5
0
 public static void NewTag(User user, Tag tag)
 {
     var clients = GlobalHost.ConnectionManager.GetHubContext<ClioHub>().Clients;
     clients.All.addTag(user, tag);
 }
Example #6
0
 public static void NewReview(User user, Review review)
 {
     var clients = GlobalHost.ConnectionManager.GetHubContext<ClioHub>().Clients;
     clients.All.addReview(user, review);
 }
Example #7
0
 public static void NewProject(User user, Project project)
 {
     var clients = GlobalHost.ConnectionManager.GetHubContext<ClioHub>().Clients;
     clients.All.addProject(user, project);
 }
Example #8
0
 public static void EditUser(User user, User user2)
 {
     var clients = GlobalHost.ConnectionManager.GetHubContext<ClioHub>().Clients;
     clients.All.editUser(user, user2);
 }