using System; using Android.App; using Android.Content; using Android.OS; using Android.Widget; using MonoStockPortfolio.Core.PortfolioRepositories; using MonoStockPortfolio.Entities; namespace MonoStockPortfolio { [Activity(Label = "Add Portfolio", MainLauncher = false)] public class AddPortfolioActivity : Activity { public AddPortfolioActivity(IntPtr handle) : base(handle) { } public static string ClassName { get { return "monoStockPortfolio.AddPortfolioActivity"; } } private IPortfolioRepository _repo; protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); SetContentView(Resource.layout.addportfolio); var saveButton = FindViewById