public void DeleteDimension(long id) { Dimension dim = _dimRepo.GetById(id); _dimRepo.Delete(dim); _dimRepo.SaveChanges(); }
public Dimension GetById(int id) { try { var res = _DimensionRepository.GetById(id); return(res); } catch (Exception ex) { throw ex; } }