Beispiel #1
0
        public void DeleteDimension(long id)
        {
            Dimension dim = _dimRepo.GetById(id);

            _dimRepo.Delete(dim);
            _dimRepo.SaveChanges();
        }
Beispiel #2
0
 public Dimension GetById(int id)
 {
     try
     {
         var res = _DimensionRepository.GetById(id);
         return(res);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }