Fixes Json Serialization

main
Paul Schneider 9 years ago
parent 3da9d7834d
commit d785e5e826
1 changed files with 2 additions and 5 deletions

@ -1,10 +1,6 @@
using BookAStar.Helpers; using BookAStar.Helpers;
using BookAStar.Model.Social; using BookAStar.Model.Social;
using System; using Newtonsoft.Json;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms; using Xamarin.Forms;
namespace BookAStar.Model namespace BookAStar.Model
@ -21,6 +17,7 @@ namespace BookAStar.Model
public Location BillingAddress { get; set; } public Location BillingAddress { get; set; }
// TODO Get User Professional status existence as a boolean // TODO Get User Professional status existence as a boolean
// And hack the avatar with // And hack the avatar with
[JsonIgnore]
public ImageSource AvatarOrNot public ImageSource AvatarOrNot
{ {
get get

Loading…