public void MusteriSil(MusteriSektor Musteri) { if (Musteri == null) { throw new ArgumentNullException("Musteri"); } _musteriDepo.Sil(Musteri); _önbellekYönetici.KalıpİleSil(MUSTERI_PATTERN_KEY); _olayYayınlayıcı.OlaySilindi(Musteri); }
public static MusteriSektor ToEntity(this MusteriSektorModel model, MusteriSektor destination) { return(model.MapTo(destination)); }
public static MusteriSektorModel ToModel(this MusteriSektor entity) { return(entity.MapTo <MusteriSektor, MusteriSektorModel>()); }