еще правки

This commit is contained in:
Milana Ievlewa 2024-04-30 15:21:40 +03:00 committed by Allllen4a
parent 586ad5562a
commit e52bbb71a1
3 changed files with 4 additions and 7 deletions

View File

@ -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);

View File

@ -7,9 +7,9 @@
public ProcedureEvaluationViewModel() { }
public ProcedureEvaluationViewModel(CosmeticViewModel car, int count)
public ProcedureEvaluationViewModel(CosmeticViewModel cosmetic, int count)
{
Cosmetic = car;
Cosmetic = cosmetic;
Count = count;
}
}

View File

@ -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; }