fix
This commit is contained in:
parent
89ea17e110
commit
8322d3cab0
@ -105,7 +105,7 @@ namespace FurnitureFactoryBusinessLogic.BusinessLogic
|
|||||||
{
|
{
|
||||||
throw new ArgumentNullException("Не задано ФИО", nameof(model.UserName));
|
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
|
var element = _managerStorage.GetElement(new ManagerSearchModel
|
||||||
{
|
{
|
||||||
Login = model.Login
|
Login = model.Login
|
||||||
|
@ -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
|
var element = _orderStorage.GetElement(new OrderSearchModel
|
||||||
{
|
{
|
||||||
Title = model.Title,
|
Title = model.Title,
|
||||||
|
@ -24,22 +24,22 @@ namespace FurnitureFactoryBusinessLogic.OfficePackage
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
foreach (var interest in info.SalesSalonsFurniture)
|
foreach (var salessalon in info.SalesSalonsFurniture)
|
||||||
{
|
{
|
||||||
CreateParagraph(new WordParagraph
|
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
|
TextProperties = new WordTextProperties
|
||||||
{
|
{
|
||||||
Size = "24",
|
Size = "24",
|
||||||
JustificationType = WordJustificationType.Both
|
JustificationType = WordJustificationType.Both
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
foreach (var lesson in interest.Furniture)
|
foreach (var furniture in salessalon.Furniture)
|
||||||
{
|
{
|
||||||
CreateParagraph(new WordParagraph
|
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
|
TextProperties = new WordTextProperties
|
||||||
{
|
{
|
||||||
Size = "24",
|
Size = "24",
|
||||||
|
Loading…
Reference in New Issue
Block a user