常用方法
常用方法
常用方法
常用方法
public async Task <ActionResult> Delete(Guid id) { var ckr = new MongoRepository <CryptoKey>(); await ckr.DeleteById(id); return(RedirectToAction(nameof(Index))); }
public async Task <ActionResult> Delete(Guid id) { var ckr = new MongoRepository <CryptoKey>(); await ckr.DeleteById(id); return(RedirectToAction(nameof(Index))); }