public void DeleteServiceWithVehicleFailures(Guid ServisId) { var silinecek = _aracArizaKayitDal.GetList(h => h.ServisId == ServisId); _aracArizaKayitDal.DeleteRange(silinecek); _servisDal.Delete(_servisDal.Get(h => h.Id == ServisId)); }
//[CacheAspect(typeof(MemoryCacheManager),120)] public List <AracArizaKayit> GetAll() { return(_aracarizakayitDal.GetList()); }