TemplateService. !!!Ошибка записи в БД

This commit is contained in:
Mikhail Kuznetsov
2023-09-01 16:19:32 +10:00
parent 21eb83a50f
commit af21530d01
16 changed files with 1125 additions and 34 deletions

View File

@@ -21,5 +21,10 @@ namespace PARR.DAL.Services.Implementations
this.dataContext = dataContext;
this.logger = logger;
}
public async Task<Template?> GetTemplateByNameAsync(string name)
{
return await EntitySet.FirstOrDefaultAsync(t => t.EK == name);
}
}
}