Пример #1
0
 public static void InsertSellDetail(SellDetailModel sellDetail)
 {
     using (var cn = new SqlConnection(ConnectionString))
     {
         cn.Execute("dbo.InsertSellDetail", sellDetail, commandType: CommandType.StoredProcedure);
     }
 }
Пример #2
0
 private SellDetailModel GenerateSellInfo(int id,RaidSellDetailViewModel detail)
 {
     SellDetailModel sd = new SellDetailModel()
     {
         //Id = id,
         Id = 728,
         AttendDate = detail.AttendDate,
         RaidName = detail.RaidName
     };
     return sd;
 }