// todo: should handle and check for other image formats public async Task <Uri> SaveEmployeePhoto(Employee e) { var name = $"{e.PersistedFaceId}"; var photoUri = await _blobProvider.AddBlob(e.PhotoBytes, name); return(photoUri); //e.PhotoPath = photoUri; //return await UpdateEmployeeAsync(e); }