public GroupSerice(AppdbContext context) { _context = context; configuration = new MapperConfiguration(cfg => { cfg.CreateMap <GroupDB, GroupDTO>(); } ); }
public AccountRepository(AppdbContext context, UserManager <Applicationuser> userManager, IExpense expenserepo, IGroup grouprepo, IActivity activityrepo, ITransaction transactionrepo) { this.context = context; this.userManager = userManager; this.expenserepo = expenserepo; this.grouprepo = grouprepo; this.activityrepo = activityrepo; this.transactionrepo = transactionrepo; }
public Form1(AppdbContext context, IInvoiceService invoiceService, IPaymentService paymentService, ICFDIHelper cFDIHelper, IWSHelperTest wsHelperTest) { InitializeComponent(); this.context = context; this.invoiceService = invoiceService; this.paymentService = paymentService; this.cFDIHelper = cFDIHelper; this.wsHelperTest = wsHelperTest; }
public ActionResult Index() { AppdbContext db = new AppdbContext(); { var emp = db.Employees.ToList(); var dep = db.Departments.ToList(); var s = emp.Join(dep, e => e.Department, d => d.Id, (e, d) => new { de = dep, }); foreach (var c in s) { } // ViewBag.Employee } return(View()); }
public GroupDBsController(AppdbContext context) { //_context = context; _groupSerice = new GroupSerice(context); }
public EmployeesController(AppdbContext context) { _context = context; }
public DataserviceRepository(AppdbContext context, IDataService service) { this.context = context; this.service = service; }
public ExpenseRepository(AppdbContext context, UserManager <Applicationuser> userManager) { this.context = context; UserManager = userManager; }
public PatientsController() { _context = new AppdbContext(); }
public LecturalsController(AppdbContext context) { //_context = context; _lecturalService = new LecturalService(context); }
public ActivityRepository(AppdbContext context) { this.context = context; }
public SpecializationDBsController(AppdbContext context) { _context = context; }
public HospitalsController() { _context = new AppdbContext(); }
public DisciplinesService(AppdbContext context, IWebHostEnvironment webHost) { _context = context; _webHost = webHost; }
public AcademicTitlesController(AppdbContext context) { _context = context; }
public LabsController() { _context = new AppdbContext(); }
public LessonsService(AppdbContext context) { _context = context; }
public DisciplineDBsController(AppdbContext context, IWebHostEnvironment webHost) { _context = context; _webHost = webHost; _disciplineService = new DisciplinesService(context, webHost); }
public PositionsController(AppdbContext context) { _context = context; }
public TimetableDBsController(AppdbContext context) { _timetableService = new TimetableService(context); }
public PaymentRepository(AppdbContext context, UserManager <Applicationuser> usermanager) { this.context = context; usermanager1 = usermanager; }
public LecturalService(AppdbContext context) { _context = context; }
public HomeController(AppdbContext context) { this._context = context; }
public CadetsController(AppdbContext context) { _cadetServies = new CadetService(context); //_context = context; }
public LessonDTOesController(AppdbContext context) { //_context = context; _lessonsService = new LessonsService(context); }
//private readonly IConfigurationProvider _configuration; public CadetService(AppdbContext context) { _context = context; }
public DoctorsController() { _context = new AppdbContext(); }
public ProfessionDBsController(AppdbContext context) { _context = context; }
public LessonTypeController(AppdbContext context) { _context = context; }
public MilitaryRanksController(AppdbContext context) { _context = context; }