resolve errors

pull/1/head
DJh2o2 2022-05-20 09:37:09 +07:00
parent 42822a2faf
commit 85b69dab64
1 changed files with 1 additions and 3 deletions

@ -17,14 +17,12 @@ namespace Gremlin.Models
public static bool CreateNewCustomDescription(CustomDescriptionViewModel customDescriptionVM, LineItemViewModel lineItemVM)
{
CustomDescription customDescription = new();
if (lineItemVM.OptionNumber == null)
{
lineItemVM.OptionNumber = "(NULL)";
}
using (GremlinContext gremlinContext = new())
CustomDescription customDescription = new()
{
AccountId = 1,
ProductNumber = lineItemVM.ProductNumber,