yavsc/contrib/genApiController.sh

8 lines
391 B
Bash
Raw Normal View History

2016-09-01 18:40:28 +02:00
#!/bin/sh
2017-01-19 12:59:49 +01:00
dnx gen controller -async -outDir ApiControllers -api -dc ApplicationDbContext -m "$1" -name "$2ApiController"
2016-09-01 18:40:28 +02:00
# 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