public IHttpActionResult Delete(int id) { HastaneBLL hastaneBusiness = new HastaneBLL(); hastaneBusiness.Delete(id); return(Ok()); }
public IHttpActionResult Add(Hastane model) { HastaneBLL hastaneBusiness = new HastaneBLL(); hastaneBusiness.Add(model); return(Ok()); }
public IHttpActionResult GetByLocation(int ilId, int ilceId) { HastaneBLL hastaneBusiness = new HastaneBLL(); var model = hastaneBusiness.GetByLocation(ilId, ilceId); return(Ok(model)); }
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(); }
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(); }