Enhanced the DeleteRecActionsCommandHandler to include a check for the existence of records before deletion, throwing a NotFoundException if none are found. Made the Handle method asynchronous and added necessary namespace imports for exception handling and database operations. Added a comment to suggest updating the DeleteAsync method in the Core library to return the number of deleted records.
ReC
Description
Languages
C#
100%