public void AddNewPosition(PositionViewModel positionModel)
        {
            tblEmployeePosition newPosition = new tblEmployeePosition()
            {
                positionId=positionModel.positionId,
                positionDescription=positionModel.positionDescription,
                positionName=positionModel.positionName

            };
            entity.tblEmployeePositions.Add(newPosition);
            entity.SaveChanges();

        }
        public void EditPosition(PositionViewModel positionModel)
        {
            tblEmployeePosition newPosition = new tblEmployeePosition()
            {
                positionId = positionModel.positionId,
                positionDescription = positionModel.positionDescription,
                positionName = positionModel.positionName

            };
            entity.tblEmployeePositions.Add(newPosition);
            entity.Entry(newPosition).State = EntityState.Modified;
            entity.SaveChanges();


        }