/// <summary> /// Gets the user role actions by identifier. /// </summary> /// <param name="email"></param> /// <returns></returns> /// <exception cref="ApplicationException">Repository GetUserRoleActionsById</exception> public IList <int> GetUserRoleActionsById(string email) { try { using ( var dbContext = (PitalyticsEntities)dbContextFactory.GetDbContext()) { var list = AccountQueries.GetUserRoleActionCollectionId(dbContext, email).ToList(); return(list); } } catch (Exception e) { throw new ApplicationException("Repository GetUserRoleActionsById", e); } }