public async Task<IActionResult> Create([Bind("AccountSeq,AccountType,Id,Pass,DatabaseName,UpdateDt,UpdateId,UpdateTer,CreateDt,CreateId,CreateTer,ConfigurationManagementSeq")] MAccount mAccount)
 {
     if (ModelState.IsValid)
     {
         _context.Add(mAccount);
         await _context.SaveChangesAsync();
         return RedirectToAction(nameof(Index));
     }
     return View(mAccount);
 }
Beispiel #2
0
        public async Task <IActionResult> Create([Bind("ConfigurationManagementSeq,JissibiS,JissibiE,Host,HostDetail,UserName,Place,HostType,Os,Cpu,Memory,Share1,Share2,Share3,Share4,WebUrl,ParentHost,UpdateDt,UpdateId,UpdateTer,CreateDt,CreateId,CreateTer")] MConfigurationManagement mConfigurationManagement)
        {
            if (ModelState.IsValid)
            {
                _context.Add(mConfigurationManagement);
                await _context.SaveChangesAsync();

                return(RedirectToAction(nameof(Index)));
            }
            return(View(mConfigurationManagement));
        }