예제 #1
0
 public async Task <IActionResult> Create([Bind("Name,Description,ImageUrl")] Horse horse)
 => await CRUDHelper <HorsesController, Horse> .Creator(this, horse, _context, ModelState.IsValid, nameof(Index));
예제 #2
0
 public async Task <IActionResult> Create([Bind("UId,Date,Amount")] Donation donation)
 => await CRUDHelper <DonationsController, Donation> .Creator(this, donation, _context, ModelState.IsValid, nameof(Index));
예제 #3
0
 public async Task <IActionResult> Create([Bind("UId,Name,Date,Time,Description,LinkTitle,Link")] Event hoofEvent)
 => await CRUDHelper <EventsController, Event> .Creator(this, hoofEvent, _context, ModelState.IsValid, nameof(Index));
예제 #4
0
 public async Task <IActionResult> Create([Bind("UId,Name,Description")] BoardMember boardMember)
 => await CRUDHelper <BoardMembersController, BoardMember> .Creator(this, boardMember, _context, ModelState.IsValid, nameof(Index));
예제 #5
0
 public async Task <IActionResult> Create([Bind("UId, PackageName, Amount, Description, ImgUrl")] DonationPackage donationPackage)
 => await CRUDHelper <DonationPackagesController, DonationPackage> .Creator(this, donationPackage, _context, ModelState.IsValid, nameof(Index));