public void UpdateDictionaryValue(PositionDictionaryValue entity)
 {
     _positionDictionaryValueRepository.Update(entity);
 }
 public void DeleteDictionaryValue(PositionDictionaryValue entity)
 {
     _positionDictionaryValueRepository.Delete(entity);
 }
 public bool IsPositionInUse(PositionDictionaryValue value)
 {
     return(_employeeRepository.Query(x => !x.IsDeleted && x.PositionDictionaryValueId == value.Id).Count() > 0);
 }
        public int CreateDictionaryValue(PositionDictionaryValue entity)
        {
            _positionDictionaryValueRepository.Insert(entity);

            return(entity.Id);
        }