public async Task <IActionResult> Create([Bind("id,name,short_description,long_description,icon_url,language,created_at,updated_at")] Result2 result2) { if (ModelState.IsValid) { _context.Add(result2); await _context.SaveChangesAsync(); return(RedirectToAction(nameof(Index))); } return(View(result2)); }
public async Task <IActionResult> Create([Bind("id,organization,account,service_key,short_description,long_description,service_display_name,service_url,language,created_at,updated_at")] Result3 result3) { if (ModelState.IsValid) { _context.Add(result3); await _context.SaveChangesAsync(); return(RedirectToAction(nameof(Index))); } return(View(result3)); }
public async Task <IActionResult> Create([Bind("id,name,info_url,mobile_app_count,social_media_count,gallery_count")] Result result) { if (ModelState.IsValid) { _context.Add(result); await _context.SaveChangesAsync(); return(RedirectToAction(nameof(Index))); } return(View(result)); }