use crate::{CategoryEntity, CategorySaveEntity};
pub trait CategoryRepository {
fn save(&self, category: CategorySaveEntity) -> CategoryEntity;
fn find_by_id(&self, category_id: u64) -> Option<CategoryEntity>;
fn delete_by_id(&self, category_id: u64) -> ();
}