change edit role

This commit is contained in:
SamSys
2025-12-01 11:49:05 +03:30
parent 8eaeefecc8
commit d9ee96c057

View File

@@ -116,8 +116,7 @@ public class RoleApplication : IRoleApplication
if (apiResult.Success)
{
if (apiResult.Result.isSuccess)
{
//اگر این نقش در پروگرام منیجر وجود داشت ویرایش کن
if (apiResult.Result.data.role.Any())
{
@@ -190,13 +189,8 @@ public class RoleApplication : IRoleApplication
}
}
}
else
{
_unitOfWork.RollbackAccountContext();
return operation.Failed("ارتباط با اپلیکیش پروگرام منیجر برقرار نشد");
}
}
else