Init() public static method

public static Init ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task
        public async Task Save(Family data)
        {
            await MockDb.Init();

            var json     = JsonConvert.SerializeObject(data);
            var dataBlob = Encryption.Encrypt(Csla.ApplicationContext.User.Identity.Name, json);

            MockDb.FamilyFile = dataBlob;
        }
        public async Task <Family> Get()
        {
            await MockDb.Init();

            var json   = Encryption.Decrypt(Csla.ApplicationContext.User.Identity.Name, MockDb.FamilyFile);
            var result = JsonConvert.DeserializeObject <Family>(json);

            return(result);
        }
 public async Task ResetData()
 {
     MockDb.IsInitialized = false;
     await MockDb.Init();
 }