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