|
@@ -29,7 +29,7 @@ namespace GxPress.Api.AdminControllers
|
|
[HttpPut]
|
|
[HttpPut]
|
|
public async Task<bool> UpdateAsync(SystemLabelUpRequest request)
|
|
public async Task<bool> UpdateAsync(SystemLabelUpRequest request)
|
|
{
|
|
{
|
|
- return await _repository.UpdateAsync(note);
|
|
|
|
|
|
+ return await _repository.UpdateAsync(request);
|
|
}
|
|
}
|
|
[HttpGet]
|
|
[HttpGet]
|
|
public async Task<IEnumerable<Entity.SystemLabel.SystemLabel>> GetAllAsync()
|
|
public async Task<IEnumerable<Entity.SystemLabel.SystemLabel>> GetAllAsync()
|