public async Task <bool> UpdateShowInAboutMeTechnologiesAsync(IEnumerable <int> technologiesShowInAboutMePage) { try { bool clearResult = await _repository.ClearShowInAboutMe(); if (clearResult) { foreach (var technology in technologiesShowInAboutMePage) { await _repository.UpdateShowInAboutMe(technology, true); } } else { return(false); } } catch (Exception e) { Logger.Log(e); return(false); } return(true); }