public EditModel(LarpBuilderContext larpBuilderContext, ICharacterRepository characterRepository, ISkillRepository skillRepository) { _larpBuilderContext = larpBuilderContext; _characterRepository = characterRepository; _skillRepository = skillRepository; }
/*private readonly LarpBuilderContext _dbContext; * private readonly IMapper _mapper;*/ public CharacterRepository( [Service] LarpBuilderContext dbContext, [Service] IMapper mapper, [Service] IDapperDataSession dapperDataSession) : base(dbContext, mapper) { _dapperDataSession = dapperDataSession; }
public SkillRepository( [Service] LarpBuilderContext dbContextEF, [Service] IMapper mapper, [Service] IDapperDataSession dapperDataSessionLarpBuilderContext ) : base(dbContextEF, mapper) { _dbContextEf = dbContextEF; _mapper = mapper; _dapperDataSessionLarpBuilderContext = dapperDataSessionLarpBuilderContext; }
protected RepositoryBase([Service] LarpBuilderContext dbContext, [Service] IMapper mapper) { _dbContext = dbContext; _mapper = _mapper; }
public EditModel(LarpBuilderContext larpBuilderContext) { _larpBuilderContext = larpBuilderContext; }
public IndexModelSkill(LarpBuilderContext context) { _context = context; }
public CreateModel(LarpBuilderContext context) { _context = context; }
public EditModelSkill(LarpBuilderContext larpBuilderContext, ISkillRepository skillRepository) { _larpBuilderContext = larpBuilderContext; _skillRepository = skillRepository; }