public SingleRsp UpdateTheTV(TheTVReq thethuvien) { var res = new SingleRsp(); Thethuvien Thethuvien = new Thethuvien(); Thethuvien.MaThe = thethuvien.MaThe; Thethuvien.NgayBd = thethuvien.NgayBd; Thethuvien.NgayHh = thethuvien.NgayHh; res = _rep.UpdateThethuvien(Thethuvien); return(res); }
public IActionResult UpdateTheTV(TheTVReq req) { var res = _svc.UpdateTheTV(req); return(Ok(res)); }