Example #1
0
        public IViewModel GenerateNewToken([FromBody] YoutubeTokenViewModel model)
        {
            var account = _accountService.GetAccount(model);

            return(_youtubeService.GenerateToken(account, model.Code));
        }