Ejemplo n.º 1
0
        public IHttpActionResult Delete(int id)
        {
            HastaneBLL hastaneBusiness = new HastaneBLL();

            hastaneBusiness.Delete(id);
            return(Ok());
        }
Ejemplo n.º 2
0
        public IHttpActionResult Add(Hastane model)
        {
            HastaneBLL hastaneBusiness = new HastaneBLL();

            hastaneBusiness.Add(model);
            return(Ok());
        }
Ejemplo n.º 3
0
        public IHttpActionResult GetByLocation(int ilId, int ilceId)
        {
            HastaneBLL hastaneBusiness = new HastaneBLL();
            var        model           = hastaneBusiness.GetByLocation(ilId, ilceId);

            return(Ok(model));
        }
Ejemplo n.º 4
0
        public IHttpActionResult GetById(int id)
        {
            HastaneBLL hastaneBusiness = new HastaneBLL();
            var        model           = hastaneBusiness.GetById(id);

            return(Ok(model));
        }
        public frmHastaRandevularım(Hasta hasta)
        {
            InitializeComponent();

            _hasta        = new Hasta();
            _hasta        = hasta;
            _randevuBLL   = new RandevuBLL();
            _seansBLL     = new SeansBLL();
            _doktorBLL    = new DoktorBLL();
            _hastaneBLL   = new HastaneBLL();
            _departmanBLL = new DepartmanBLL();
        }
Ejemplo n.º 6
0
 public frmRandevu(Hasta _hasta)
 {
     InitializeComponent();
     _hastaneBLL     = new HastaneBLL();
     hdDTO           = new List <HastaneDepDTO>();
     _depBLL         = new DepartmanBLL();
     _dokBLL         = new DoktorBLL();
     _seansBLL       = new SeansBLL();
     _hastaBLL       = new HastaBLL();
     _randevuBLL     = new RandevuBLL();
     _gununTarihiBLL = new GununTarihiBLL();
     hasta           = new Hasta();
     hasta           = _hasta;
     hastaneler      = _hastaneBLL.GetHastaneler();
     departmanlar    = _depBLL.GetDepartmanlar();
 }