コード例 #1
0
 public static void ZaloLotteryDayInsert(ZaloLotteryDay entity)
 {
     SqlHelper.ExecuteNonQuery(AppEnv.ConnectionStringVClip, "Zalo_Lottery_Day_Add"
                               , entity.UserId
                               , entity.RequestId
                               , entity.ServiceId
                               , entity.CommanCode
                               , entity.Operator
                               , entity.ServiceCode
                               , entity.CompanyId
                               );
 }
コード例 #2
0
    private static void SaveLotteryDay(string userId, string requestId, string serviceId, string commandCode, string subCode, int companyId)
    {
        //DUA VAO BANG DOI
        var item = new ZaloLotteryDay();

        item.UserId      = userId;
        item.RequestId   = requestId;
        item.ServiceId   = serviceId;
        item.CommanCode  = commandCode;
        item.Operator    = GetTelco(userId);
        item.ServiceCode = subCode;
        item.CompanyId   = companyId;
        ZaloController.ZaloLotteryDayInsert(item);
        //END DUA VAO BANG DOI
    }