public bool SaveColorSettings(ColorSettings colors)
 {
     FlatFieldsProvider.Instance.SaveFlatField("base_color", colors.BaseColor);
     FlatFieldsProvider.Instance.SaveFlatField("back_color", colors.BackColor);
     FlatFieldsProvider.Instance.SaveFlatField("edit_order_image_url", colors.EditOrderImageUrl);
     FlatFieldsProvider.Instance.SaveFlatField("confirm_order_image_url", colors.ConfirmOrderImageUrl);
     FlatFieldsProvider.Instance.SaveFlatField("check_out_image_url", colors.CheckOutImageUrl);
     FlatFieldsProvider.Instance.SaveFlatField("add_to_cart_image_url", colors.AddToCartImageUrl);
     return true;
 }
 public ColorSettings LoadColorSettings()
 {
     var colors = new ColorSettings();
     colors.BaseColor = FlatFieldsProvider.Instance.GetFlatFieldValue("base_color");
     colors.BackColor = FlatFieldsProvider.Instance.GetFlatFieldValue("back_color");
     colors.EditOrderImageUrl = FlatFieldsProvider.Instance.GetFlatFieldValue("edit_order_image_url");
     colors.ConfirmOrderImageUrl = FlatFieldsProvider.Instance.GetFlatFieldValue("confirm_order_image_url");
     colors.CheckOutImageUrl = FlatFieldsProvider.Instance.GetFlatFieldValue("check_out_image_url");
     colors.AddToCartImageUrl = FlatFieldsProvider.Instance.GetFlatFieldValue("add_to_cart_image_url");
     return colors;
 }