Exemple #1
0
 public object Post(Project project)
 {
     var newProject = Repository.Store(project);
     ClioHubManager.NewProject(User, newProject);
     return newProject;
 }
Exemple #2
0
 public object Put(Project project)
 {
     var editProject = Repository.Store(project);
     ClioHubManager.EditProject(User, editProject);
     return editProject;
 }
Exemple #3
0
 public static void NewProject(User user, Project project)
 {
     var clients = GlobalHost.ConnectionManager.GetHubContext<ClioHub>().Clients;
     clients.All.addProject(user, project);
 }