public SingleRsp DeleteMuontra(MuontraReq mt) { var res = new SingleRsp(); Muontra muontra = new Muontra(); muontra.MaMt = mt.MaMt; res = _rep.DeleteMuontra(muontra); return(res); }
public SingleRsp UpdateMuontra(MuontraReq mt) { var res = new SingleRsp(); Muontra muontra = new Muontra(); muontra.MaMt = mt.MaMt; muontra.MaThe = mt.MaThe; muontra.Ngaymuon = mt.Ngaymuon; res = _rep.UpdateMuontra(muontra); return(res); }
public IActionResult DeleteMuontra([FromBody] MuontraReq req) { var res = _svc.DeleteMuontra(req); return(Ok(res)); }