Removed duplicate API endpoints
This commit is contained in:
@@ -16,16 +16,9 @@ namespace WD7UVN_HFT_2023241.Endpoint
|
||||
this.LogicServices = LogicServices;
|
||||
}
|
||||
|
||||
[HttpGet("WhoUsesService/{id}")]
|
||||
public IQueryable<Customer> WhoUsesService(int id)
|
||||
{
|
||||
return LogicServices.WhoUsesService(id);
|
||||
}
|
||||
|
||||
[HttpGet()]
|
||||
public IQueryable<Customer> ReadAllCustomers()
|
||||
{
|
||||
|
||||
return LogicServices.CRUDOperations.ReadAllCustomers();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user