fix DateTime mistake
This commit is contained in:
parent
d617260cb3
commit
fcafbcfdac
@ -47,7 +47,7 @@ namespace CarShowroomBusinessLogic.BusinessLogic
|
||||
public bool Create(SaleDto model)
|
||||
{
|
||||
CheckModel(model);
|
||||
model.SaleTime = DateTime.Now;
|
||||
model.SaleTime = DateTime.UtcNow;
|
||||
if (_saleStorage.Insert(model) == null)
|
||||
{
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user