Compare commits
2
Commits
4fe5d57d37
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c05a389a44 | ||
|
|
185aaae19a |
@@ -55,9 +55,7 @@ namespace xAiModels.Extensions
|
||||
//
|
||||
var result =
|
||||
!source.IsNullOrDefault() &&
|
||||
!source.OwnerId.IsNullOrEmpty() &&
|
||||
!source.ProjectId.IsNull() &&
|
||||
!source.ProjectId.IsDefaultGuid();
|
||||
!source.OwnerId.IsNullOrEmpty();
|
||||
|
||||
//
|
||||
return result;
|
||||
@@ -67,9 +65,7 @@ namespace xAiModels.Extensions
|
||||
//
|
||||
var result =
|
||||
!source.IsNullOrDefault() &&
|
||||
!source.OwnerId.IsNullOrEmpty() &&
|
||||
!source.ProjectId.IsNull() &&
|
||||
!source.ProjectId.IsDefaultGuid();
|
||||
!source.OwnerId.IsNullOrEmpty();
|
||||
|
||||
//
|
||||
return result;
|
||||
|
||||
@@ -305,7 +305,7 @@ namespace xAiModels.Providers
|
||||
{
|
||||
//
|
||||
// Validate Args ...
|
||||
if (!ownerId.IsNullOrEmpty())
|
||||
if (ownerId.IsNullOrEmpty())
|
||||
{
|
||||
XException.InvalidArgs.Throw();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user