public IHttpActionResult GetByIlId(int id)
        {
            IlBLL ilBusiness = new IlBLL();
            var   model      = ilBusiness.GetById(id);

            return(Ok(model));
        }
        public IHttpActionResult Get()
        {
            IlBLL ilBusiness = new IlBLL();
            var   model      = ilBusiness.Get().ToList();

            return(Ok(model));
        }
Exemplo n.º 3
0
 public IlEditForm()
 {
     InitializeComponent();
     dataLayoutControl = myDataLayoutControl;
     bll      = new IlBLL(myDataLayoutControl);
     kartTuru = KartTuru.Il;
     EventsLoad();
 }
Exemplo n.º 4
0
 public AfetEkraniController()
 {
     _adresBLL    = new AdresBLL();
     _afetTuruBLL = new AfetTuruBLL();
     _ilBLL       = new IlBLL();
     _ilceBLL     = new IlceBLL();
     _mahalleBLL  = new MahalleBLL();
     _beldeBLL    = new BeldeBLL();
     _afetBLL     = new AfetBLL();
 }
Exemplo n.º 5
0
 public IlListForm()
 {
     InitializeComponent();
     bll = new IlBLL();
     btnBagliKartlar.Caption = "İlçe Kartları";
 }