Exemplo n.º 1
0
 public WorkoutOfmRepository(IAsyncCrud <Workout, int, WorkoutResourceParameters> repo,
                             IPropertyMappingService propertyMappingService,
                             ITypeHelperService typeHelperService
                             )
     : base(repo, propertyMappingService, typeHelperService)
 {
 }
Exemplo n.º 2
0
 public CardioSetOfmRepository(IAsyncCrud <CardioSet, int, CardioSetResourceParameters> repo,
                               IPropertyMappingService propertyMappingService,
                               ITypeHelperService typeHelperService
                               )
     : base(repo, propertyMappingService, typeHelperService)
 {
 }
 public ExerciseHistoryOfmRepository(IAsyncCrud <ExerciseHistory, int, ExerciseHistoryResourceParameters> repo,
                                     IPropertyMappingService propertyMappingService,
                                     ITypeHelperService typeHelperService
                                     )
     : base(repo, propertyMappingService, typeHelperService)
 {
 }
Exemplo n.º 4
0
 public AnimalOfmRepository(IAsyncCrud <Animal, int, AnimalResourceParameters> repo,
                            IPropertyMappingService propertyMappingService,
                            ITypeHelperService typeHelperService
                            )
     : base(repo, propertyMappingService, typeHelperService)
 {
 }
Exemplo n.º 5
0
 public AsyncOfmRepositoryBase(IAsyncCrud <TEntity, TId, TEntityCollectionResourceParameters> repository,
                               IPropertyMappingService propertyMappingService,
                               ITypeHelperService typeHelperService)
 {
     Repo = repository;
     PropertyMappingService = propertyMappingService;
     TypeHelperService      = typeHelperService;
     AsyncGetOfmGuardClause = new AsyncGetOfmGuardClauses <TOfmForGet, TId>(TypeHelperService);
 }
Exemplo n.º 6
0
        ////private readonly IServiceProvider _serviceProvider;

        public WorkoutHistoryOfmRepository(
            IWorkoutHistoryRepository repo,
            IPropertyMappingService propertyMappingService,
            ITypeHelperService typeHelperService
            ////IServiceProvider serviceProvider
            )
            : base(repo, propertyMappingService, typeHelperService)
        {
            ////_serviceProvider = serviceProvider;
            _workoutHistoryRepository = repo;
        }