public async Task <JsonResult> Insert()
 {
     try {
         var id      = Guid.NewGuid();
         var api     = Guid.Parse(Request.Form["api"]);
         var code    = StringConverters.GuidToCode(Guid.NewGuid(), 4);
         var ownerID = Request.Form["oid"];
         if (SecurityCodeGeneratorService.Insert(id, api, code, ownerID))
         {
             return(Success(id.ToString()));
         }
         return(Failed(MessageUtility.ServerError()));
     } catch { return(Failed(MessageUtility.ServerError())); }
 }