Графические ошибки
This commit is contained in:
parent
e21fb29401
commit
5e206fc41b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user