public async Task <IActionResult> GetIconsId([FromBody] AuthUser user) { var iconsIds = await _desktopRepository.GetAllIconsIdAsync(this.UserId); return(Json(iconsIds)); }
public async Task <IActionResult> GetFolders([FromBody] AuthUser user) { var icons = await _desktopRepository.GetAllFoldersForUserAsync(this.UserId); return(Json(icons)); }