diff --git a/FactoryView/FactoryDatabaseImplement/Implements/MasterStorage.cs b/FactoryView/FactoryDatabaseImplement/Implements/MasterStorage.cs index 0924979..e90b580 100644 --- a/FactoryView/FactoryDatabaseImplement/Implements/MasterStorage.cs +++ b/FactoryView/FactoryDatabaseImplement/Implements/MasterStorage.cs @@ -48,9 +48,9 @@ namespace FactoryDatabaseImplement.Implements using var context = new FactoryDatabase(); return context.Masters - .FirstOrDefault(x => ((!string.IsNullOrEmpty(model.Email) && x.Email == model.Email) && (!string.IsNullOrEmpty(model.Password) && x.Password == model.Password)) || - (model.Id.HasValue && x.Id == model.Id)) - ?.GetViewModel; + .FirstOrDefault(x => ((!string.IsNullOrEmpty(model.Email) && x.Email == model.Email) && (!string.IsNullOrEmpty(model.Password) && x.Password == model.Password)) || + (model.Id.HasValue && x.Id == model.Id)) + ?.GetViewModel; } public MasterViewModel? Insert(MasterBindingModel model)