public FCRegularLocationAllocatingController() { _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]; _transfer = new CrossReferenceTransfer(_context); }
public FCRegularLocationAllocatingController() { _context = new ApplicationDbContext(); _userName = HttpContext.Current.User.Identity.Name.Split('@')[0]; _transfer = new CrossReferenceTransfer(_context); }