fixed
This commit is contained in:
1 parent
4194cef934
commit
363127fe9e
3350 files changed
+1284220
-1
No files matched your search
Executable
+16
@@ -0,0 +1,16 @@
|
||||
package category
|
||||
|
||||
import (
|
||||
"bankline/internal/listing"
|
||||
"context"
|
||||
)
|
||||
|
||||
type Repository interface {
|
||||
GetAllData(ctx context.Context, params listing.Params) (DataCategoryDTO, error)
|
||||
GetData(ctx context.Context, id int) (CategoryDTO, error)
|
||||
|
||||
AddData(ctx context.Context, dto AddCategoryDTO) (CategoryIdDTO, error)
|
||||
UpdateData(ctx context.Context, dto UpdateCategoryDTO, id int) (CategoryIdDTO, error)
|
||||
UpdateStatusData(ctx context.Context, status string, id int) (CategoryDTO, error)
|
||||
DeleteData(ctx context.Context, uuid int) error
|
||||
}
|
||||
Reference in new issue
Block a user