private static  Task<Uri> GetImageUriAsync(T_Photo t_photo)
 {
     return Task.Run(() =>
     {
         return DataServiceContextHelper.DataContext.GetReadStreamUri(t_photo);
     });
 }
        private static T_Photo GetSmallPhoto(T_Photo photo, string smallPhotoSize)
        {
            var q = from sp in photo.T_Photo1 where sp.Size.Contains(smallPhotoSize.ToString()) && (sp.IsDeleted == null || sp.IsDeleted == false) select sp;
            T_Photo smallPhotoEntity = null;
            try
            {
                smallPhotoEntity = q.First<T_Photo>();
            }
            catch (System.InvalidOperationException e)
            {
                System.Diagnostics.Debug.WriteLine(e.Message);
            }
            return smallPhotoEntity;

        }