public List <MesajDetay> GetAll() { try { return(_mesajDetayRepo.GetAll().ToList()); } catch { throw new Exception("Beklenmedik bir hata oluştu"); } }
public ICollection <MesajDetay> GetAll() { return(_mesajDetayDAL.GetAll()); }