public BalanceViewModel CreateBalance() { var userId = HttpContext.Current.User.Identity.GetUserId(); return(TransformModels.ToBalanceViewModel(_wheelService.CreateBalance(userId))); }
public BalanceViewModel UpdateBalance(decimal balance) { var userId = HttpContext.Current.User.Identity.GetUserId(); return(TransformModels.ToBalanceViewModel(_wheelService.UpdateBalance(balance, userId))); }