Esempio n. 1
0
 public AccountManager()
 {
     try
     {
         _repo = AccountRepositoryFactory.GetAccountRepository();
     }
     catch (Exception ex) { }
 }
Esempio n. 2
0
        public List <MakeViewModel> GetMakeDetails()
        {
            var list = new List <MakeViewModel>();

            var accountRepo = AccountRepositoryFactory.GetAccountRepository();

            foreach (var make in makeList)
            {
                var makeModel = new MakeViewModel();
                makeModel.MakeId    = make.MakeId;
                makeModel.MakeName  = make.MakeName;
                makeModel.DateAdded = make.DateAdded;
                makeModel.UserEmail = "abc";

                list.Add(makeModel);
            }

            return(list);
        }
 public AccountManager()
 {
     _repo = AccountRepositoryFactory.GetAccountRepository();
 }