/// <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); }