Initial commit

This commit is contained in:
KamilM1205 2025-09-16 13:26:27 +04:00
commit c0cb826917
63 changed files with 2069 additions and 0 deletions

View file

@ -0,0 +1,16 @@
package interfaces
import (
"58team_blog/internal/application/commands"
"58team_blog/internal/application/common"
"58team_blog/internal/application/queries"
)
type UserService interface {
Create(commands.CreateUserCommand) (*common.UserResult, error)
FindById(queries.UserFindByIdQuery) (*queries.UserFindByIdResult, error)
FindByName(queries.UserFindByNameQuery) (*queries.UserFindByNameResult, error)
GetAll() (*queries.UserGetAllResult, error)
Update(commands.UpdateUserCommand) (*common.UserResult, error)
Delete(commands.DeleteUserCommand) error
}