diff --git a/BMA.EHR.Application/Repositories/Commands/CommandRepository.cs b/BMA.EHR.Application/Repositories/Commands/CommandRepository.cs index d683dacd..79a2eb89 100644 --- a/BMA.EHR.Application/Repositories/Commands/CommandRepository.cs +++ b/BMA.EHR.Application/Repositories/Commands/CommandRepository.cs @@ -628,14 +628,14 @@ namespace BMA.EHR.Application.Repositories.Commands // try // { // var data = await _dbContext.Set().AsQueryable() - - + + // .FirstOrDefaultAsync(o => o.Id == ocId); - // if(data == null) + // if (data == null) // throw new Exception(GlobalMessages.OrganizationNotFound); - // return data.Government!.Id + // return data // } // catch // {