Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert C# code to Java #18

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Convert C# code to Java #18

wants to merge 1 commit into from

Conversation

scubaninja
Copy link
Owner

@scubaninja scubaninja commented Oct 30, 2024

Related to #10

Convert C# code to Java for the mail services API.

  • API Routes

    • Add BroadcastRoutes.java to handle broadcast-related routes.
    • Add BulkOperationRoutes.java to handle bulk operations on contacts.
    • Add ContactRoutes.java to handle contact-related routes.
    • Add PublicRoutes.java to handle public routes like signup and unsubscribe.
  • Commands

    • Add BulkTagCommand.java to handle bulk tagging of contacts.
    • Add CommandResult.java to represent the result of a command execution.
    • Add ContactOptinCommand.java to handle contact opt-in.
    • Add ContactOptOutCommand.java to handle contact opt-out.
    • Add ContactSignupCommand.java to handle contact signup.
    • Add CreateBroadcast.java to handle the creation of broadcasts.
    • Add LinkClickedCommand.java to handle link click events.
  • Data

    • Add DB.java to handle database connections.
    • Add Extensions.java to provide utility methods for database operations.
  • Models

    • Add Activity.java to represent an activity.
    • Add Broadcast.java to represent a broadcast.

For more details, open the Copilot Workspace session.

Related to #10

Convert C# code to Java for the mail services API.

* **API Routes**
  - Add `BroadcastRoutes.java` to handle broadcast-related routes.
  - Add `BulkOperationRoutes.java` to handle bulk operations on contacts.
  - Add `ContactRoutes.java` to handle contact-related routes.
  - Add `PublicRoutes.java` to handle public routes like signup and unsubscribe.

* **Commands**
  - Add `BulkTagCommand.java` to handle bulk tagging of contacts.
  - Add `CommandResult.java` to represent the result of a command execution.
  - Add `ContactOptinCommand.java` to handle contact opt-in.
  - Add `ContactOptOutCommand.java` to handle contact opt-out.
  - Add `ContactSignupCommand.java` to handle contact signup.
  - Add `CreateBroadcast.java` to handle the creation of broadcasts.
  - Add `LinkClickedCommand.java` to handle link click events.

* **Data**
  - Add `DB.java` to handle database connections.
  - Add `Extensions.java` to provide utility methods for database operations.

* **Models**
  - Add `Activity.java` to represent an activity.
  - Add `Broadcast.java` to represent a broadcast.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/scubaninja/dotNET-mail-demo/issues/10?shareId=XXXX-XXXX-XXXX-XXXX).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant