public IActionResult Kullanicilar() { try { var kullanicilar = _kullaniciService.GetAll(); return(Ok(kullanicilar)); } catch (Exception) { return(BadRequest()); } }
public IActionResult GetAll() { try { var users = _userService.GetAll(); return(Ok(users)); } catch (Exception ex) { FileProccess.WriteLog(ex.Message); return(BadRequest()); } }
private void LoadDGWKullanici() { dgwKullanici.DataSource = _kullaniciService.GetAll(); }
public ActionResult ListelePartial() { return(View(KullaniciService.GetAll())); }