public async Task UpdateUserProfile(IOperation operation, UserProfileEntity entity) { if (!await userDataStore.IsUserExist(operation, entity.Id)) { throw CommonExceptions.UserWasNotFound(operation, entity.Id); } await userDataStore.UpdateProfile(operation, entity); }