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