コード例 #1
0
 /// <summary>
 /// Adds a user to a developer company
 /// </summary>
 /// <param name="userId">id of user</param>
 public void AddUser(int userId)
 {
     DbDeveloper.SetUserDeveloper(userId, this.Id);
     DbConnections.FulfillRequest(userId, this.Id);
 }
コード例 #2
0
 /// <summary>
 /// Denies a dev request
 /// </summary>
 /// <param name="user">id of user</param>
 /// <param name="developer">id of developer</param>
 public static void DenyRequest(int user, int developer)
 {
     DbConnections.FulfillRequest(user, developer);
 }