public ActionResult Index(int?masterSupportRepId = null) { ClearUrlDictionary(); CustomerCollectionModel customerCollectionModel = new CustomerCollectionModel() { IsSecurityOperations = this.IsSecurityOperations, ControllerAction = "Index", MasterSupportRepId = masterSupportRepId }; try { IsSearch(customerCollectionModel.OperationResult); } catch (Exception exception) { customerCollectionModel.OperationResult.ParseException(exception); } return(View(customerCollectionModel)); }
public ActionResult Search(string masterUrl = null, string masterControllerAction = null, int?masterSupportRepId = null) { WriteUrlDictionary(masterUrl); CustomerCollectionModel customerCollectionModel = new CustomerCollectionModel() { IsSecurityOperations = this.IsSecurityOperations, ControllerAction = "Search", MasterControllerAction = masterControllerAction, MasterSupportRepId = masterSupportRepId }; try { IsSearch(customerCollectionModel.OperationResult); } catch (Exception exception) { customerCollectionModel.OperationResult.ParseException(exception); } return(PartialView(customerCollectionModel)); }