public async Task <IActionResult> Synchronize([FromBody] SubscriptionFolderSynchronizeRequest request)
        {
            var user = await userManager.GetUserAsync(User);

            var folder = subscriptionManager.GetFolder(user, request.Id);
            await subscriptionManager.SynchronizeFolder(folder);

            return(Ok(responseFactory.Success()));
        }
示例#2
0
        public async Task <IActionResult> Synchronize([FromBody] SubscriptionFolderSynchronizeRequest request)
        {
            await subscriptionManager.SynchronizeFolder(request.Id);

            return(Ok(responseFactory.Success()));
        }