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