public IHttpActionResult GetByTcknPassword(string tckn, string password) { DoktorBLL doktorBusiness = new DoktorBLL(); var model = doktorBusiness.GetByTcknPassword(tckn, password); return(Ok(model)); }
public IHttpActionResult Delete(int id) { DoktorBLL doktorBusiness = new DoktorBLL(); doktorBusiness.Delete(id); return(Ok()); }
public IHttpActionResult Update(Doktor model) { DoktorBLL doktorBusiness = new DoktorBLL(); doktorBusiness.Update(model); return(Ok()); }
public IHttpActionResult GetByBolumIdHasId(int hastaneid, int bolumid) { DoktorBLL doktorBusiness = new DoktorBLL(); var model = doktorBusiness.GetByBolumIdHastaneId(hastaneid, bolumid); return(Ok(model)); }
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(); }
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()); } }
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(); }