0
shimi created
Hi,
I am checking duplicate name validation in server function, but when clicking save button fastly server process parallel requests and enters same name in database. I know that this can be avoided setting constraints in Database, but is there any solution other than this, because when we are dealing with a huge logic validation in server this will happen and validation fails.
I am updating here for maliming
you can check it in Aspnet Role creation itself
Project Type: Angular with .netcore webapi
**Steps to do **
- Remove disable of button in rolecreation popup
- put a break point in new Rolecreation function in apiproject
- Run both projects(API & Angular)
- Click the New Role button, add new role
- Then click Save button several times
- Can see new Role with duplicate names are saved.