public async Task <IResponseWrapper> UpdateProfile(Core.Model.Profile profile) { try { var response = await localDataSource.UpdateProfile(ProfileMapper.ConvertToDto(profile)); return(new Success <bool>(response)); } catch (Exception e) { Debug.WriteLine("[ProfileRepository.UpdateProfile()] Error: " + e.Message); return(new Error(e.Message)); } }