Ismailov_Rovshan 2023-04-08 22:43:16 +04:00
commit 285df1a7d8
3 changed files with 6 additions and 6 deletions

View File

@ -105,7 +105,7 @@ namespace FurnitureFactoryBusinessLogic.BusinessLogic
{
throw new ArgumentNullException("Не задано ФИО", nameof(model.UserName));
}
_logger.LogInformation("Student. Name:{Name}. Email{Email}.Login{Login} .Password{Password} Id: {Id}", model.UserName, model.Email, model.Login, model.Password, model.Id);
_logger.LogInformation("Manager. Name:{Name}. Email{Email}.Login{Login} .Password{Password} Id: {Id}", model.UserName, model.Email, model.Login, model.Password, model.Id);
var element = _managerStorage.GetElement(new ManagerSearchModel
{
Login = model.Login

View File

@ -101,7 +101,7 @@ namespace FurnitureFactoryBusinessLogic.BusinessLogic
}
_logger.LogInformation("Product. Titel:{Title}.Status{Status}.ManagerId:{ManagerId}. Id: {Id}", model.Title, model.Status, model.ManagerId, model.Id);
_logger.LogInformation("Order. Titel:{Title}.Status{Status}.ManagerId:{ManagerId}. Id: {Id}", model.Title, model.Status, model.ManagerId, model.Id);
var element = _orderStorage.GetElement(new OrderSearchModel
{
Title = model.Title,

View File

@ -24,22 +24,22 @@ namespace FurnitureFactoryBusinessLogic.OfficePackage
}
});
foreach (var interest in info.SalesSalonsFurniture)
foreach (var salessalon in info.SalesSalonsFurniture)
{
CreateParagraph(new WordParagraph
{
Texts = new List<(string, WordTextProperties)> { (interest.Name, new WordTextProperties { Size = "24", Bold = true, }) },
Texts = new List<(string, WordTextProperties)> { (salessalon.Name, new WordTextProperties { Size = "24", Bold = true, }) },
TextProperties = new WordTextProperties
{
Size = "24",
JustificationType = WordJustificationType.Both
}
});
foreach (var lesson in interest.Furniture)
foreach (var furniture in salessalon.Furniture)
{
CreateParagraph(new WordParagraph
{
Texts = new List<(string, WordTextProperties)> { (lesson, new WordTextProperties { Size = "20", Bold = false, }) },
Texts = new List<(string, WordTextProperties)> { (furniture, new WordTextProperties { Size = "20", Bold = false, }) },
TextProperties = new WordTextProperties
{
Size = "24",