30 lines
1.2 KiB
Go
30 lines
1.2 KiB
Go
package odds
|
|
|
|
// import (
|
|
// "context"
|
|
|
|
// "github.com/SamuelTariku/FortuneBet-Backend/internal/domain"
|
|
// )
|
|
|
|
// func (s *ServiceImpl) InsertCustomOdds(ctx context.Context, odd domain.CreateCustomOdd) (domain.CustomOdd, error) {
|
|
// return s.store.InsertCustomOdds(ctx, odd)
|
|
// }
|
|
// func (s *ServiceImpl) GetAllCustomOdds(ctx context.Context, filter domain.CustomOddFilter) ([]domain.CustomOdd, error){
|
|
// return s.store.GetAllCustomOdds(ctx, filter)
|
|
// }
|
|
// func (s *ServiceImpl) GetCustomOddByID(ctx context.Context, id int64) (domain.CustomOdd, error){
|
|
// return s.store.GetCustomOddByID(ctx, id)
|
|
// }
|
|
// func (s *ServiceImpl) GetCustomOddByOddID(ctx context.Context, oddId int64, companyID int64) (domain.CustomOdd, error){
|
|
// return s.store.GetCustomOddByOddID(ctx, oddId, companyID)
|
|
// }
|
|
// func (s *ServiceImpl) DeleteCustomOddByID(ctx context.Context, id int64) error{
|
|
// return s.store.DeleteCustomOddByID(ctx, id)
|
|
// }
|
|
// func (s *ServiceImpl) DeleteCustomOddsByOddID(ctx context.Context, oddId int64, companyID int64) error{
|
|
// return s.store.DeleteCustomOddsByOddID(ctx, oddId, companyID)
|
|
// }
|
|
// func (s *ServiceImpl) DeleteCustomOddByEventID(ctx context.Context, eventID string) error{
|
|
// return s.store.DeleteCustomOddByEventID(ctx, eventID)
|
|
// }
|