public void WriteState(BrewProfile profile)
        {
            if (profile == null)
            {
                return;
            }

            var profileArray = ProfileWriter.Write(profile);

            if (profileArray != null)
            {
                File.WriteAllBytes(_path, profileArray);
            }
        }
 public BrewLogic(BrewProfile profile)
 {
     _profile = profile;
 }