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())); }
public async Task <IActionResult> Synchronize([FromBody] SubscriptionFolderSynchronizeRequest request) { await subscriptionManager.SynchronizeFolder(request.Id); return(Ok(responseFactory.Success())); }