/// <summary> /// The constructor for this class injected with context variable containing the global /// database context /// </summary> /// <param name="context">Database Context Object , injected through IOC Container</param> public OrdersController(jmmContext context) { _context = context; }
/// <summary> /// The constructor for this class injected with context variable containing the global /// database context /// </summary> public ProductsController(jmmContext context) { _context = context; }
/// <summary> /// The constructor for this class injected with context variable containing the global /// database context /// </summary> public SuppliersController(jmmContext context) { _context = context; }
/// <summary> /// The constructor for this class injected with context variable containing the global /// database context /// </summary> /// <param name="context">Database Context Object , injected through IOC Container</param> public CustomersController(jmmContext context) { _context = context; }