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