예제 #1
0
        public void SaveAccountDetails(AccountModel accountModelDetails)
        {
            AccountRepository accountRepository = new AccountRepository();
            AccountDTO accountEntity = new AccountDTO();

            AutoMapper.Mapper.Map(accountModelDetails, accountEntity);
            accountRepository.SaveAccountDetails(accountEntity);
        }
예제 #2
0
 public ActionResult Create(AccountModel model)
 {
     return RedirectToAction("Index");
 }