public List <CustomerAutomaticOptionExercisingViewModel> GetCustomerAutomaticOptionExercisingInformation(string customerCode, string customerAccountCode, string tradeAccount, List <string> optionNumbers) { List <CustomerAutomaticOptionExercisingInformation> results = _portfolioManager.GetAutomaticOptionExercisingParameters(customerCode, customerAccountCode, DefaultTradeSector, tradeAccount, optionNumbers); List <CustomerAutomaticOptionExercisingViewModel> viewModels = Mapper.Map <List <CustomerAutomaticOptionExercisingInformation>, List <CustomerAutomaticOptionExercisingViewModel> >(results); return(viewModels); }