Пример #1
0
        public IHttpActionResult GetByTcknPassword(string tckn, string password)
        {
            DoktorBLL doktorBusiness = new DoktorBLL();
            var       model          = doktorBusiness.GetByTcknPassword(tckn, password);

            return(Ok(model));
        }
Пример #2
0
        public IHttpActionResult Delete(int id)
        {
            DoktorBLL doktorBusiness = new DoktorBLL();

            doktorBusiness.Delete(id);
            return(Ok());
        }
Пример #3
0
        public IHttpActionResult Update(Doktor model)
        {
            DoktorBLL doktorBusiness = new DoktorBLL();

            doktorBusiness.Update(model);
            return(Ok());
        }
Пример #4
0
        public IHttpActionResult GetByBolumIdHasId(int hastaneid, int bolumid)
        {
            DoktorBLL doktorBusiness = new DoktorBLL();
            var       model          = doktorBusiness.GetByBolumIdHastaneId(hastaneid, bolumid);

            return(Ok(model));
        }
Пример #5
0
        public IHttpActionResult GetById(int id)
        {
            DoktorBLL doktorBusiness = new DoktorBLL();
            var       model          = doktorBusiness.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();
        }
Пример #7
0
 public frmMuayene(Hasta hasta, Randevu randevu)
 {
     InitializeComponent();
     _teshisBLL  = new TeshisBLL();
     _tahlilBLL  = new TahlilBLL();
     _randevuBLL = new RandevuBLL();
     _rtBLL      = new RandevuTeshisBLL();
     _hastaBLL   = new HastaBLL();
     _rtahlilBLL = new RandevuTahlilBLL();
     _hasta      = hasta;
     _randevu    = randevu;
     _seansBLL   = new SeansBLL();
     _doktorBLL  = new DoktorBLL();
 }
        public IHttpActionResult Logind(string tckn, string password)
        {
            DoktorBLL doktorBusiness = new DoktorBLL();
            var       model          = doktorBusiness.GetByTcknPassword(tckn, password);

            if (model != null)
            {
                FormsAuthentication.SetAuthCookie(model.TCKN, false);

                return(Ok(model));
            }
            else
            {
                return(NotFound());
            }
        }
Пример #9
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();
 }