diff --git a/WD7UVN_HFT_2023241.Endpoint/Controllers/CustomerController.cs b/WD7UVN_HFT_2023241.Endpoint/Controllers/CustomerController.cs index 0cd5daa..a1df1b5 100644 --- a/WD7UVN_HFT_2023241.Endpoint/Controllers/CustomerController.cs +++ b/WD7UVN_HFT_2023241.Endpoint/Controllers/CustomerController.cs @@ -16,16 +16,9 @@ namespace WD7UVN_HFT_2023241.Endpoint this.LogicServices = LogicServices; } - [HttpGet("WhoUsesService/{id}")] - public IQueryable WhoUsesService(int id) - { - return LogicServices.WhoUsesService(id); - } - [HttpGet()] public IQueryable ReadAllCustomers() { - return LogicServices.CRUDOperations.ReadAllCustomers(); } diff --git a/WD7UVN_HFT_2023241.Endpoint/Controllers/EmployeeController.cs b/WD7UVN_HFT_2023241.Endpoint/Controllers/EmployeeController.cs index c30ddce..9e87735 100644 --- a/WD7UVN_HFT_2023241.Endpoint/Controllers/EmployeeController.cs +++ b/WD7UVN_HFT_2023241.Endpoint/Controllers/EmployeeController.cs @@ -16,18 +16,6 @@ namespace WD7UVN_HFT_2023241.Endpoint this.LogicServices = LogicServices; } - [HttpGet("GetSubordinates/{id}")] - public IQueryable GetSubordinates(int id) - { - return LogicServices.GetSubordinates(id); - } - - [HttpGet("WhoWorksInMaintainerTeam/{id}")] - public IQueryable WhoWorksInMaintainerTeam(int id) - { - return LogicServices.WhoWorksInMaintainerTeam(id); - } - [HttpGet()] public IQueryable ReadAllEmployees() {