Exemplo n.º 1
0
        public async Task <IActionResult> AskOrdersCompleted(string userid, string market, int offset = 0, int limit = 10)
        {
            var user = await GetUser(required : true);

            var userInspect = _userManager.FindByIdAsync(userid).Result;

            ViewData["userid"] = userid;
            return(View(OrdersCompletedViewModel.Construct(user, user, market, OrderSide.Ask, _settings, offset, limit)));
        }
Exemplo n.º 2
0
        public async Task <IActionResult> AskOrdersCompleted(string market, int offset = 0, int limit = 10)
        {
            var user = await GetUser(required : true);

            return(View(OrdersCompletedViewModel.Construct(user, user, market, OrderSide.Ask, _settings, offset, limit)));
        }