diff --git a/RMuseum/Services/Implementation/GanjoorService.cs b/RMuseum/Services/Implementation/GanjoorService.cs index 39d913a0..a875a15f 100644 --- a/RMuseum/Services/Implementation/GanjoorService.cs +++ b/RMuseum/Services/Implementation/GanjoorService.cs @@ -537,6 +537,11 @@ namespace RMuseum.Services.Implementation { try { + if(string.IsNullOrEmpty(content)) + { + return new RServiceResult(null, "متن حاشیه خالی است."); + } + GanjoorComment comment = new GanjoorComment() { UserId = userId,