Example #1
0
        public SingleRsp DeleteThethuvien(ThethuvienReq ttv)
        {
            var        res        = new SingleRsp();
            Thethuvien thethuvien = new Thethuvien();

            thethuvien.MaThe  = ttv.MaThe;
            thethuvien.NgayBd = ttv.NgayBd;
            thethuvien.NgayHh = ttv.NgayHh;
            thethuvien.GhiChu = ttv.GhiChu;
            res = _rep.DeleteThethuvien(thethuvien);
            return(res);
        }
Example #2
0
        public IActionResult DeleteThethuvien([FromBody] ThethuvienReq req)
        {
            var res = _svc.DeleteThethuvien(req);

            return(Ok(res));
        }