public async Task <IActionResult> UpdateStorageType(StorageTypeDto cartonType) { return(Ok(await _storageTypeRepository.EditItem(cartonType))); }
public async Task <IActionResult> AddStorageType(StorageTypeDto cartonType) { return(Ok(await _storageTypeRepository.AddItem(cartonType))); }