mirror of
https://github.com/ForFarmTeam/ForFarm.git
synced 2025-12-18 21:44:08 +01:00
feat: add delete for domain cropland and farm
This commit is contained in:
parent
41f194c22a
commit
de1813b83c
@ -32,5 +32,5 @@ func (c *Cropland) Validate() error {
|
||||
type CroplandRepository interface {
|
||||
GetByID(context.Context, string) (Cropland, error)
|
||||
CreateOrUpdate(context.Context, *Cropland) error
|
||||
// Delete(context.Context, string) error
|
||||
Delete(context.Context, string) error
|
||||
}
|
||||
|
||||
@ -29,5 +29,5 @@ func (f *Farm) Validate() error {
|
||||
type FarmRepository interface {
|
||||
GetByID(context.Context, string) (Farm, error)
|
||||
CreateOrUpdate(context.Context, *Farm) error
|
||||
// Delete(context.Context, string) error
|
||||
Delete(context.Context, string) error
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user