public async Task <IActionResult> Delete(int id)
        {
            await _materials.DeleteByIdAsync(id);

            return(Ok());
        }