public CompanyRepository( RoutineDbContext context, IPropertyMappingService propertyMappingService) { _context = context ?? throw new ArgumentNullException(nameof(context)); _propertyMappingService = propertyMappingService ?? throw new ArgumentNullException(nameof(propertyMappingService)); }
public CompanyRepository(RoutineDbContext dbContext) { _dbContext = dbContext; }
public CompanyRepository(RoutineDbContext context) { _context = context ?? throw new ArgumentNullException(nameof(context)); }
public EmployeeRepository(RoutineDbContext Context) { _context = Context ?? throw new ArgumentException(nameof(Context)); }
public ToolRepository(RoutineDbContext context) { _context = context ?? throw new ArgumentException(nameof(context)); }
public RoutineController(IMuscleGroupRepository repo, AppMuscleDbContext context, Routine routineService, UserManager <AppUser> usrMgr, IRoutineRepository reposi, RoutineDbContext context__) { userManager = usrMgr; _context = context; repository = repo; routine = routineService; reposi = repos; context__ = context_; }
public EmployeesController(RoutineDbContext context, IMapper mapper) { _context = context; _mapper = mapper; }