public void SaveAccountDetails(AccountModel accountModelDetails) { AccountRepository accountRepository = new AccountRepository(); AccountDTO accountEntity = new AccountDTO(); AutoMapper.Mapper.Map(accountModelDetails, accountEntity); accountRepository.SaveAccountDetails(accountEntity); }
public ActionResult Create(AccountModel model) { return RedirectToAction("Index"); }