Skip to content

Commit eab0c2a

Browse files
committed
IDE formatter changes
1 parent ab4d827 commit eab0c2a

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

DigitalLearningSolutions.Data/DataServices/CompetencyAssessmentDataService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ public bool UpdateCompetencyAssessmentBranding(
253253
int adminId
254254
)
255255
{
256-
if ((competencyAssessmentId < 1) | (brandId < 1) | (categoryId < 1) | (adminId < 1))
256+
if ((competencyAssessmentId < 1) | (brandId < 1) | (categoryId < 1) | (adminId < 1))
257257
{
258258
logger.LogWarning(
259259
$"Not updating competency assessment as it failed server side validation. competencyAssessmentId: {competencyAssessmentId}, brandId: {brandId}, categoryId: {categoryId}, AdminId: {adminId}"
@@ -348,7 +348,7 @@ FROM SelfAssessmentTaskStatus
348348
WHERE (SelfAssessmentId = @assessmentId)",
349349
new { assessmentId }
350350
).Single();
351-
351+
352352
}
353353
public bool UpdateIntroductoryTextTaskStatus(int assessmentId, bool taskStatus)
354354
{

DigitalLearningSolutions.Web/Services/CompetencyAssessmentService.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,11 @@ public IEnumerable<CompetencyAssessment> GetCompetencyAssessmentsForAdminId(int
6565
public int InsertCompetencyAssessment(int adminId, int centreId, string competencyAssessmentName, int? frameworkId)
6666
{
6767
var assessmentId = competencyAssessmentDataService.InsertCompetencyAssessment(adminId, centreId, competencyAssessmentName);
68-
if(assessmentId > 0 && frameworkId != null)
68+
if (assessmentId > 0 && frameworkId != null)
6969
{
7070
var framework = frameworkDataService.GetBrandedFrameworkByFrameworkId((int)frameworkId, adminId);
71-
if (framework != null) {
71+
if (framework != null)
72+
{
7273
competencyAssessmentDataService.InsertSelfAssessmentFramework(adminId, assessmentId, framework.ID);
7374
competencyAssessmentDataService.UpdateCompetencyAssessmentDescription(adminId, assessmentId, framework.Description);
7475
competencyAssessmentDataService.UpdateCompetencyAssessmentBranding(assessmentId, (int)framework.BrandID, (int)framework.CategoryID, adminId);

0 commit comments

Comments
 (0)