public async static Task Insert(m.Transaction obj)
 {
     using (var db = DbAccess.ConnectionFactory())
     {
         await db.ExecuteAsync(DbAccess.Insert <m.Transaction>(), obj);
     }
 }
Пример #2
0
 public async static Task Insert(Category obj)
 {
     using (var db = DbAccess.ConnectionFactory())
     {
         await db.ExecuteAsync(DbAccess.Insert <Category>(), obj);
     }
 }
Пример #3
0
 public async static Task Insert(FinancialManagementSystem.Models.Profile obj)
 {
     using (var db = DbAccess.ConnectionFactory())
     {
         await db.ExecuteAsync(DbAccess.Insert <FinancialManagementSystem.Models.Profile>(), obj);
     }
 }
Пример #4
0
 public async static Task Insert(m.AppAdministrator obj)
 {
     using (var db = DbAccess.ConnectionFactory())
     {
         await db.ExecuteAsync(DbAccess.Insert <m.AppAdministrator>(), obj);
     }
 }