public ContactInfo(IContactDAO manager)
        {
            InitializeComponent();

            contact        = new Contact();
            BindingContext = contact;
            this.manager   = manager;
        }
 public ContactInfo(Contact contactNew)
 {
     InitializeComponent();
     contact        = contactNew;
     BindingContext = contact;
     manager        = new ContactManagerDB();
     Updated        = true;
 }
예제 #3
0
 public HomeController(
     IContactDAO contactDAO,
     UserManager <User> userManager,
     IContactRepository repoContact)
 {
     _contactDAO  = contactDAO;
     _userManager = userManager;
     _repoContact = repoContact;
 }
예제 #4
0
 public MainPageContact()
 {
     InitializeComponent();
     manager = new ContactManagerDB();
 }