public ActionResult Index() { CorrolationIdHelper.SetCorrolationId(Guid.NewGuid()); ServiceRequestWithData <ISingleSignOnToken, InventoryItemServiceGetAllParameters> parameters = new ServiceRequestWithData <ISingleSignOnToken, InventoryItemServiceGetAllParameters> { AuthenticationToken = GetAuthenticationToken(), Data = new InventoryItemServiceGetAllParameters() }; ViewData.Model = InventoryItemService.GetAll(parameters).ResultData; return(View()); }
public List <InventoryItem> GetAll() { return(_inventoryItemService.GetAll().ToList()); }