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); }
public IActionResult DeleteThethuvien([FromBody] ThethuvienReq req) { var res = _svc.DeleteThethuvien(req); return(Ok(res)); }