public bool Ekle(List <string> resimler, int urunId) { try { foreach (var resim in resimler) { Resim ressimObj = new Resim() { ResimAdi = resim, UrunId = urunId, }; _resimRepository.Add(ressimObj); } return(true); } catch { return(false); } }