public IActionResult Kullanicilar()
 {
     try
     {
         var kullanicilar = _kullaniciService.GetAll();
         return(Ok(kullanicilar));
     }
     catch (Exception)
     {
         return(BadRequest());
     }
 }
Example #2
0
        public IActionResult GetAll()
        {
            try
            {
                var users = _userService.GetAll();
                return(Ok(users));
            }
            catch (Exception ex)
            {
                FileProccess.WriteLog(ex.Message);

                return(BadRequest());
            }
        }
Example #3
0
 private void LoadDGWKullanici()
 {
     dgwKullanici.DataSource = _kullaniciService.GetAll();
 }
Example #4
0
 public ActionResult ListelePartial()
 {
     return(View(KullaniciService.GetAll()));
 }