10 lines
186 B
Go

package subscribesvc
func (s *impl) Create(subsPlanId string) (string, error) {
subsId, err := s.subsRepo.Create(subsPlanId)
if err != nil {
return "", err
}
return subsId, nil
}