Browse Source

Bug fix

confirmation-email
J 11 years ago
parent
commit
befbadee25
2 changed files with 1 additions and 2 deletions
  1. +1
    -1
      Sevomin.Models/Repositories/ParameterRepository.cs
  2. +0
    -1
      Sevomin.WebFrontend.Controllers/AccountController.cs

+ 1
- 1
Sevomin.Models/Repositories/ParameterRepository.cs View File

@ -65,7 +65,7 @@ namespace Sevomin.Models.Repositories
public void AddParametersToDovomin(Dovomin dovomin)
{
foreach (var param in ListAll())
foreach (var param in ListAll().ToList())
{
if (dovomin.DovominParameters.Count(x => x.ParameterId == param.Id) == 0)
{


+ 0
- 1
Sevomin.WebFrontend.Controllers/AccountController.cs View File

@ -196,6 +196,5 @@ namespace Sevomin.WebFrontend.Controllers
DovominViewModel dvm = new DovominViewModel(u as Dovomin);
return View("ProfileDovomin", dvm);
}
}
}

Loading…
Cancel
Save