public static bool AddUserToProject(string user_id) { bool added = false; try { ProjectsDB.AddUserToProject(project_id, user_id); added = true; } catch (Exception ex) { LogsDB.AddLog(String.Format("Project - Add User. Error adding user {0} to project id {1}", user_id, project_id), LogsDB.GetLogType("error").id, project_id, ex); } return(added); }