public FBADeleteAPIController() { _validator = new FBAexAPIValidator(); _context = new ApplicationDbContext(); _soController = new FBAShipOrderController(); _moController = new FBAMasterOrderController(); _callbackManager = new CustomerCallbackManager(_context); }
public WarehouseIndexController() { _context = new ApplicationDbContext(); _userName = HttpContext.Current.User.Identity.Name.Split('@')[0] == "" ? (HttpContext.Current.Request.Headers.Get("AppUser") == null ? "" : HttpContext.Current.Request.Headers.Get("AppUser")) : HttpContext.Current.User.Identity.Name.Split('@')[0]; _callbackManager = new CustomerCallbackManager(_context); }