Ashutosh_Employee_Update_Validation #13
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "Ashutosh_Employee_Update_Validation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Added validation in Employee Create and update api to check Whether this email and Id belongs to same employee if not from same send "BadRequest" with message "You cannot use this email" and if belongs to same employee then it updates the employee