From defdceaf244b6d2e8bd459092b5be1a96ecc2fea Mon Sep 17 00:00:00 2001 From: David Renner Date: Thu, 28 May 2020 10:10:32 +0200 Subject: [PATCH] update - DELETE auskommentiert und angepasst --- .../config/applicationhost.config | 1027 +++++++++++++++++ .vs/slnx.sqlite | Bin 249856 -> 249856 bytes Controllers/InventarController.cs | 10 +- 3 files changed, 1032 insertions(+), 5 deletions(-) create mode 100644 .vs/BuecherwurmAPI/config/applicationhost.config diff --git a/.vs/BuecherwurmAPI/config/applicationhost.config b/.vs/BuecherwurmAPI/config/applicationhost.config new file mode 100644 index 0000000..136bd79 --- /dev/null +++ b/.vs/BuecherwurmAPI/config/applicationhost.config @@ -0,0 +1,1027 @@ + + + + + + + +
+
+
+
+
+
+
+
+ + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+ +
+
+ +
+
+ +
+
+
+ + +
+
+
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite index 7415054f6b40aec9365a85c679113a3c4171b2d3..14abbc1858c3fe9d7dba3d976e6e106c26326e1c 100644 GIT binary patch delta 705 zcmZozz~8Wde}Xh4&qNt#MxKocY5I)nn~&=st!KSw{rcRw%@fxb3ouJ_)=p+WpvlLZ z%qzmPk0**thw~C=?Pj|J_M8&I>Rb$r%Jqz#jEsy-?x`it`303um7Xq>ADob$oaig8 zi6q7;tZNXV#?8Q}-pCBm;FnsOTI^bpnp=>QIQjkw8ITTbWWgd%VL5{^RiGZ#Mn~0l3`&!2&d7-+sQ^teY~+QQ;+a>L znpcuoH2L32RgkTEFahWMypp2)oSamk)dB(`$`J1XeaFZYUzA#qUz}NzUsMURSQSZ( zomH4m#a9Wa!7!Z@93C(;L6#`NI0y@bd4!x5fyx~n896}a0}Yj$oOVi@Ntk2v^0QG) zwhRmm(!Bo|`8oJ+@z3Gc=P%;-R85xDuC#SwQQvoy8z@#degor4E*-Btiv3dXd_Wkb}x9@+?CbDv9odu+cGdP{9%-DAGj+CRAa)<%_9VqaGjif){d2%gWE`I@~%_*o41~7Wn^M3m~3-K zu3j%ZHL)Zkwa6{MC^b2;xI_NHlUJTsW8z}oy!>nwlP%u|1`$3(2L4<8bNGw+ z{rF?}*Yh9c^WZb&>*8C)SHc(1e~xcE-(9}5{1fSXo@TD+B*_@%~XI)6)un~> BuchEntfernen(int id) + public ActionResult> ExemplarEntfernen(int id) { - var book = _repository.GetBookById(id); - if (book == null) + var copy = _repository.GetCopyById(id); + if (copy == null) { return NotFound(); } - _repository.BuchEntfernen(book); + _repository.ExemplarEntfernen(copy); return NoContent(); }*/