fixes the build

This commit is contained in:
Paul Schneider 2017-05-12 12:18:20 +02:00
commit f04c60d5f2
2 changed files with 3 additions and 3 deletions

View file

@ -160,7 +160,7 @@ namespace Yavsc.Controllers
await _context.SaveChangesAsync(uid);
var brusherProfile = await _context.BrusherProfile.SingleAsync(p=>p.UserId == pro.PerformerId);
model.Client = await _context.Users.SingleAsync(u=>u.Id == model.ClientId);
model.SelectedProfile = brusherProfile;
var yaev = model.CreateEvent(_localizer, brusherProfile);
MessageWithPayloadResponse grep = null;
@ -192,7 +192,7 @@ namespace Yavsc.Controllers
}
ViewBag.Activity = _context.Activities.FirstOrDefault(a=>a.Code == model.ActivityCode);
ViewBag.GoogleSettings = _googleSettings;
var addition = model.Addition(brusherProfile);
var addition = model.Addition();
ViewBag.Addition = addition.ToString("C",CultureInfo.CurrentUICulture);
return View("CommandConfirmation",model);
}