/// <summary> /// Get all Account for 'AccountRole' relationship. /// </summary> public IQueryable <IAccountDataModel> GetAllForAccountRole(int roleId, IModelContext context = null) { changeHandler.BeforeGetAllForAccountRole(roleId, context); var rtn = dal.GetAllForAccountRole(roleId, context); changeHandler.AfterGetAllForAccountRole(rtn, roleId, context); return(rtn); }