Describe the bug
CreatedOn and ModifiedOn columns should not be data driven
These values should always be a the current date and user should never be able to change its value based on input.
To Reproduce
Steps to reproduce the behavior:
- Hit any post API where the base model entity is UserModifiableEntity
- Pass the createdOn and modifiedOn date values as some backdated data
- Observe the entry in database
- Instead of current date the values will be one provided in input
Expected behavior
Should always be the current date time.
Describe the bug
CreatedOn and ModifiedOn columns should not be data driven
These values should always be a the current date and user should never be able to change its value based on input.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should always be the current date time.