public IHttpActionResult Delete(int id) { HesapBLL hesapBusiness = new HesapBLL(); hesapBusiness.Delete(id); return(Ok()); }
public IHttpActionResult GetToplamBakiye(int id) { HesapBLL hesapBusiness = new HesapBLL(); decimal toplamBakiye = hesapBusiness.ToplamBakiye(id); return(Ok(toplamBakiye)); }
public IHttpActionResult HavaleVirman(int aliciHesapNo, int gonderenHesapNo, decimal tutar) { HesapBLL hesapBusiness = new HesapBLL(); hesapBusiness.HavaleVirman(aliciHesapNo, gonderenHesapNo, tutar); return(Ok()); }
public IHttpActionResult ParaIslem(int hesapNo, decimal tutar) { HesapBLL hesapBusiness = new HesapBLL(); hesapBusiness.ParaIslem(hesapNo, tutar); return(Ok()); }
public IHttpActionResult Add(HesapDTO model) { HesapBLL hesapBusiness = new HesapBLL(); hesapBusiness.Add(model); return(Ok()); }
public IHttpActionResult GetByMusteriNo(int musteriNo) { HesapBLL hesapBusiness = new HesapBLL(); var model = hesapBusiness.GetByMusteriNo(musteriNo); return(Ok(model)); }
public IHttpActionResult GetById(int id) { HesapBLL hesapBusiness = new HesapBLL(); var model = hesapBusiness.GetById(id); return(Ok(model)); }