Skip to content

Approach for multi HttpPatch Api for One Entity #44

@AmirrezaTaleb

Description

@AmirrezaTaleb

Hi
I Have 3 patch API With 3 different Dto For modified One Entity :

which approach is better

1- Create 3 services For Modified with 3 different DTOs (All Those Methods are the same)

2- Create 1 Service For Modified With One Dto Called "EditDto" And Map Those 3 DTOs To EditDto

3- Create 1 Service For Modified With Entity As param And Map Those 3 DTOs To Entity

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions