Beispiel #1
0
        public bool ValidateNewContact(Contact accountToValidate)
        {
            ContactDAL ContacDal = new ContactDAL(GlobalContext);

            ////Throw spcific Dal
            //ContacDal.Create<Contact>(new Contact());


            return(ContacDal.IsAccountActive(accountToValidate.FullName));
        }