//converts User to UserRole Model
        public static Eventual.Model.UserRole UserRoleEntityToUserRoleModel(Eventual.DAL.UserRole userRole)
        {
            Eventual.Model.UserRole result = new Eventual.Model.UserRole
            {
                UserRoleID   = userRole.UserRoleID,
                UserRoleType = userRole.UserRoleType
            };

            return(result);
        }
        //converts User to UserRole Model
        public static Eventual.DAL.UserRole UserRoleModelToUserRoleEntity(Eventual.Model.UserRole userRole)
        {
            Eventual.DAL.UserRole result = null;
            if (userRole != null)
            {
                result = new Eventual.DAL.UserRole
                {
                    UserRoleID   = userRole.UserRoleID,
                    UserRoleType = userRole.UserRoleType
                };
            }

            return(result);
        }