Skip to content
Snippets Groups Projects
Commit e17db0e7 authored by Lucca Santangelo's avatar Lucca Santangelo
Browse files

bedelia error messages

parent 0ed2fd47
No related branches found
No related tags found
1 merge request!34bedelia
...@@ -87,7 +87,7 @@ namespace Bedelia.Controllers ...@@ -87,7 +87,7 @@ namespace Bedelia.Controllers
if (dbCourse == null) if (dbCourse == null)
{ {
return BadRequest(string.Format("el curso con id {0} no existe", id)); return BadRequest(string.Format("el curso con id {0} no existe en bedelia", id));
} }
dbCourse.Name = course.Name; dbCourse.Name = course.Name;
......
...@@ -34,7 +34,7 @@ namespace Bedelia.Controllers ...@@ -34,7 +34,7 @@ namespace Bedelia.Controllers
if (user == null) if (user == null)
{ {
return BadRequest(string.Format("el usuario con cedula {0} no existe", identityCard)); return BadRequest(string.Format("el usuario con cedula {0} no existe en bedelia", identityCard));
} }
return Ok(user); return Ok(user);
...@@ -93,7 +93,7 @@ namespace Bedelia.Controllers ...@@ -93,7 +93,7 @@ namespace Bedelia.Controllers
if (dbUser == null) if (dbUser == null)
{ {
return BadRequest(string.Format("el usuario con id {0} no existe", id)); return BadRequest(string.Format("el usuario con id {0} no existe en bedelia", id));
} }
dbUser.IdentityCard = user.IdentityCard; dbUser.IdentityCard = user.IdentityCard;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment