Exemple #1
0
        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));
        }
Exemple #2
0
        public IHttpActionResult GetSoTietKiem(int stkId)
        {
            var stkBus = new BankMgmt.MW.BusinessLayer.SoTietKiemBUS();

            return(Ok(stkBus.GetSoTietKiem(stkId)));
        }