etrupja / NetCoreAPI

Building REST APIs using ASP.NET Core and Entity Framework Core

Home Page:https://www.youtube.com/watch?v=AYgs0kLjTLE&index=2&list=PL2Q8rFbm-4rtXmuTnVCw8r4_ugHloxyk_

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Set a record (employee, contract, department) status to deleted instead of deleting it

etrupja opened this issue · comments

Instead of physicaly deleting components a new property isDeleted should be added. So, when one component is deleted then this status is set to true which means it will not be shown to the user.

Changes were applied. BaseRepository was extended with the new methods