diff --git a/SushiBar/SushiBar/Program.cs b/SushiBar/SushiBar/Program.cs index 1f3996b..2374f76 100644 --- a/SushiBar/SushiBar/Program.cs +++ b/SushiBar/SushiBar/Program.cs @@ -64,7 +64,7 @@ namespace SushiBar }); DependencyManager.Instance.RegisterType(); - DependencyManager.Instance.RegisterType(true); + DependencyManager.Instance.RegisterType(); DependencyManager.Instance.RegisterType(); DependencyManager.Instance.RegisterType(); DependencyManager.Instance.RegisterType(); @@ -73,7 +73,7 @@ namespace SushiBar DependencyManager.Instance.RegisterType(); DependencyManager.Instance.RegisterType(); - DependencyManager.Instance.RegisterType(); + DependencyManager.Instance.RegisterType(true); DependencyManager.Instance.RegisterType(); DependencyManager.Instance.RegisterType(); diff --git a/SushiBar/SushiBarBusinessLogic/BusinessLogics/OrderLogic.cs b/SushiBar/SushiBarBusinessLogic/BusinessLogics/OrderLogic.cs index c724cbd..48c34eb 100644 --- a/SushiBar/SushiBarBusinessLogic/BusinessLogics/OrderLogic.cs +++ b/SushiBar/SushiBarBusinessLogic/BusinessLogics/OrderLogic.cs @@ -115,7 +115,7 @@ namespace SushiBarBusinessLogic.BusinessLogics } model.Status = orderStatus; - if (model.Status == OrderStatus.Выдан) + if (model.Status == OrderStatus.Готов) { model.DateImplement = DateTime.Now; }