Example #1
0
 public async Task <int> InsertAsync(RolePermission model)
 {
     using Connector conn = ConnectionProvider.GetConnection();
     return(await InsertAsync(model, null, conn.Connection));
 }
Example #2
0
 public int Insert(RolePermission model)
 {
     using Connector conn = ConnectionProvider.GetConnection();
     return(Insert(model, null, conn.Connection));
 }