コード例 #1
0
 public CompanyRepository(
     RoutineDbContext context,
     IPropertyMappingService propertyMappingService)
 {
     _context = context ?? throw new ArgumentNullException(nameof(context));
     _propertyMappingService = propertyMappingService
                               ?? throw new ArgumentNullException(nameof(propertyMappingService));
 }
コード例 #2
0
 public CompanyRepository(RoutineDbContext dbContext)
 {
     _dbContext = dbContext;
 }
コード例 #3
0
 public CompanyRepository(RoutineDbContext context)
 {
     _context = context ?? throw new ArgumentNullException(nameof(context));
 }
コード例 #4
0
 public EmployeeRepository(RoutineDbContext Context)
 {
     _context = Context ?? throw new ArgumentException(nameof(Context));
 }
コード例 #5
0
 public ToolRepository(RoutineDbContext context)
 {
     _context = context ?? throw new ArgumentException(nameof(context));
 }
コード例 #6
0
ファイル: RoutineController.cs プロジェクト: JAVENT12/SpotMe
 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_;
 }
コード例 #7
0
 public EmployeesController(RoutineDbContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }