еще правки
This commit is contained in:
parent
586ad5562a
commit
e52bbb71a1
@ -21,10 +21,7 @@ namespace BeautySalonBusinessLogic.BusinessLogics
|
||||
_logger = logger;
|
||||
_orderStorage = orderStorage;
|
||||
}
|
||||
public int GetNumberOfPages(int userId, int pageSize = 10)
|
||||
{
|
||||
return _orderStorage.GetNumberOfPages(userId, pageSize);
|
||||
}
|
||||
|
||||
public List<OrderViewModel>? ReadList(OrderSearchModel? model)
|
||||
{
|
||||
_logger.LogInformation("Order. OrderID:{Id}", model?.Id);
|
||||
|
@ -7,9 +7,9 @@
|
||||
|
||||
public ProcedureEvaluationViewModel() { }
|
||||
|
||||
public ProcedureEvaluationViewModel(CosmeticViewModel car, int count)
|
||||
public ProcedureEvaluationViewModel(CosmeticViewModel cosmetic, int count)
|
||||
{
|
||||
Cosmetic = car;
|
||||
Cosmetic = cosmetic;
|
||||
Count = count;
|
||||
}
|
||||
}
|
||||
|
@ -23,7 +23,7 @@ namespace BeautySalonDatabaseImplement
|
||||
base.OnConfiguring(optionsBuilder);
|
||||
}
|
||||
|
||||
|
||||
|
||||
public virtual DbSet<Order_> Orders { set; get; }
|
||||
public virtual DbSet<LaborCosts> LaborCosts { set; get; }
|
||||
public virtual DbSet<Cosmetic> Cosmetics { set; get; }
|
||||
|
Loading…
Reference in New Issue
Block a user