Converted to string interpolation

Code like it’s 2016 :-)
pull/1223/merge
Lars Gyrup Brink Nielsen 2016-05-16 01:01:39 +02:00 committed by danroth27
parent 00f470b469
commit ea93e685c7
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ namespace MVCMovie.Controllers
{
if (!this.userRepo.VerifyEmail())
{
return Json(data: string.Format("Email {0} is already in use.", email));
return Json(data: $"Email {email} is already in use.");
}
return Json(data: true);