public CostControlBusinessEntity.CostPointGroup Update(CostControlBusinessEntity.CostPointGroup entity)
        {
            if (entity == null)
            {
                return(null);
            }

            try
            {
                CostControlEntity.CostPointGroup CostPointGroup = CostPointGroupIMapper.Map <CostControlBusinessEntity.CostPointGroup, CostControlEntity.CostPointGroup>(entity);

                var result = CostPointGroupIMapper.Map <CostControlEntity.CostPointGroup, CostControlBusinessEntity.CostPointGroup>(Repository.Update(CostPointGroup));
                _unitOfWork.Commit();

                return(result);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
 public override string ToString() => $"{Name?.ToString()} ({CostPointGroup?.ToString()} - {Code?.ToString()})";