Пример #1
0
 private static List <InlineKeyboardButton> GetAdminRow(StoreProductRecord product)
 {
     return(new List <InlineKeyboardButton>
     {
         InlineKeyboardButton.WithCallbackData("حذف", "delete_approve:" + product.Id),
         InlineKeyboardButton.WithCallbackData("ویرایش", "edit:" + product.Id)
     });
 }
Пример #2
0
 public NewProductInState()
 {
     IsEdit         = false;
     NewProductStep = NewProductSteps.Begin;
     ProductRecord  = new StoreProductRecord();
 }