WIP
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
dnx gen controller -outDir ApiControllers -api -dc ApplicationDbContext -m "$1" -name "$2ApiController"
|
||||
dnx gen controller -async -outDir ApiControllers -api -dc ApplicationDbContext -m "$1" -name "$2ApiController"
|
||||
|
||||
# dnx gen controller -outDir Controllers -dc ApplicationDbContext -udl -m {model} -name {name}Controller
|
||||
|
||||
|
8
Yavsc/contrib/genController.sh
Executable file
8
Yavsc/contrib/genController.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
dnx gen controller -async -udl -outDir Controllers -dc ApplicationDbContext -m "$1" -name "$2Controller"
|
||||
|
||||
# dnx gen controller -outDir Controllers -dc ApplicationDbContext -udl -m {model} -name {name}Controller
|
||||
|
||||
|
||||
# dnx gen controller -outDir Controllers -dc ApplicationDbContext -udl -m Yavsc.Models.Booking.MusicianSettings -name InstrumentationController -async -scripts
|
Reference in New Issue
Block a user