Esempio n. 1
0
        /// <summary>
        /// Get all Role for 'AccountRole' relationship.
        /// </summary>
        public IQueryable <IRoleDataModel> GetAllForAccountRole(int accountId, IModelContext context = null)
        {
            changeHandler.BeforeGetAllForAccountRole(accountId, context);
            var rtn = dal.GetAllForAccountRole(accountId, context);

            changeHandler.AfterGetAllForAccountRole(rtn, accountId, context);
            return(rtn);
        }