@@ -26,21 +26,21 @@ func (u *CarModelPriceHistoryUsecase) Create(ctx context.Context, req dto.Create
2626}
2727
2828// Update
29- func (s * CarModelPriceHistoryUsecase ) Update (ctx context.Context , id int , req dto.UpdateCarModelPriceHistory ) (dto.CarModelPriceHistory , error ) {
30- return s .base .Update (ctx , id , req )
29+ func (u * CarModelPriceHistoryUsecase ) Update (ctx context.Context , id int , req dto.UpdateCarModelPriceHistory ) (dto.CarModelPriceHistory , error ) {
30+ return u .base .Update (ctx , id , req )
3131}
3232
3333// Delete
34- func (s * CarModelPriceHistoryUsecase ) Delete (ctx context.Context , id int ) error {
35- return s .base .Delete (ctx , id )
34+ func (u * CarModelPriceHistoryUsecase ) Delete (ctx context.Context , id int ) error {
35+ return u .base .Delete (ctx , id )
3636}
3737
3838// Get By Id
39- func (s * CarModelPriceHistoryUsecase ) GetById (ctx context.Context , id int ) (dto.CarModelPriceHistory , error ) {
40- return s .base .GetById (ctx , id )
39+ func (u * CarModelPriceHistoryUsecase ) GetById (ctx context.Context , id int ) (dto.CarModelPriceHistory , error ) {
40+ return u .base .GetById (ctx , id )
4141}
4242
4343// Get By Filter
44- func (s * CarModelPriceHistoryUsecase ) GetByFilter (ctx context.Context , req filter.PaginationInputWithFilter ) (* filter.PagedList [dto.CarModelPriceHistory ], error ) {
45- return s .base .GetByFilter (ctx , req )
44+ func (u * CarModelPriceHistoryUsecase ) GetByFilter (ctx context.Context , req filter.PaginationInputWithFilter ) (* filter.PagedList [dto.CarModelPriceHistory ], error ) {
45+ return u .base .GetByFilter (ctx , req )
4646}
0 commit comments