public HttpResponseMessage RemoveSoTietKiem(int stkId) { var stkBus = new BankMgmt.MW.BusinessLayer.SoTietKiemBUS(); SoTietKiem stk = stkBus.GetSoTietKiem(stkId); stk.TinhTrang = 0; stkBus.UpdateSoTietKiem(stk); return(Request.CreateResponse(HttpStatusCode.Created, stkId)); }
public IHttpActionResult GetSoTietKiem(int stkId) { var stkBus = new BankMgmt.MW.BusinessLayer.SoTietKiemBUS(); return(Ok(stkBus.GetSoTietKiem(stkId))); }