Add initial services
This commit is contained in:
11
como_infrastructure/src/services/item_service.rs
Normal file
11
como_infrastructure/src/services/item_service.rs
Normal file
@@ -0,0 +1,11 @@
|
||||
use como_core::items::ItemService;
|
||||
|
||||
pub struct DefaultItemService {}
|
||||
|
||||
impl DefaultItemService {
|
||||
pub fn new() -> Self {
|
||||
Self {}
|
||||
}
|
||||
}
|
||||
|
||||
impl ItemService for DefaultItemService {}
|
3
como_infrastructure/src/services/mod.rs
Normal file
3
como_infrastructure/src/services/mod.rs
Normal file
@@ -0,0 +1,3 @@
|
||||
pub mod item_service;
|
||||
pub mod project_service;
|
||||
pub mod user_service;
|
11
como_infrastructure/src/services/project_service.rs
Normal file
11
como_infrastructure/src/services/project_service.rs
Normal file
@@ -0,0 +1,11 @@
|
||||
use como_core::projects::ProjectService;
|
||||
|
||||
pub struct DefaultProjectService {}
|
||||
|
||||
impl DefaultProjectService {
|
||||
pub fn new() -> Self {
|
||||
Self {}
|
||||
}
|
||||
}
|
||||
|
||||
impl ProjectService for DefaultProjectService {}
|
11
como_infrastructure/src/services/user_service.rs
Normal file
11
como_infrastructure/src/services/user_service.rs
Normal file
@@ -0,0 +1,11 @@
|
||||
use como_core::users::UserService;
|
||||
|
||||
pub struct DefaultUserService {}
|
||||
|
||||
impl DefaultUserService {
|
||||
pub fn new() -> Self {
|
||||
Self {}
|
||||
}
|
||||
}
|
||||
|
||||
impl UserService for DefaultUserService {}
|
Reference in New Issue
Block a user