Merge branch 'main' of http://student.git.athene.tech/Ismailov_Rovshan/CourseWork_FurnitureFactory
This commit is contained in:
commit
285df1a7d8
@ -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
|
||||
|
@ -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,
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user