Skip to content

Refactor case handling and add DateTime extensions#64

Open
Shoaib96978 wants to merge 1 commit into
mainfrom
feat-/case--management--refactor
Open

Refactor case handling and add DateTime extensions#64
Shoaib96978 wants to merge 1 commit into
mainfrom
feat-/case--management--refactor

Conversation

@Shoaib96978

Copy link
Copy Markdown
Collaborator

Introduced DateTimeExtensions for consistent UTC handling of DateTime values. Renamed PagedResult to CasesPaginatedResult and added PendingCount and FinalizedCount properties to enhance pagination responses. Updated GetAllCasesQuery, GetCasesHandler, and SearchCasesHandler to use the new CasesPaginatedResult structure. Reduced default PageSize to 5 for better granularity.

Refactored CommandFollowupMappings and UpdateFollowupHandler to use ToUtc extension methods for date conversions. Updated CaseController to include OrganizationId from user claims. Made namespace and import adjustments to support these changes.

Introduced `DateTimeExtensions` for consistent UTC handling of
`DateTime` values. Renamed `PagedResult` to `CasesPaginatedResult`
and added `PendingCount` and `FinalizedCount` properties to enhance
pagination responses. Updated `GetAllCasesQuery`, `GetCasesHandler`,
and `SearchCasesHandler` to use the new `CasesPaginatedResult`
structure. Reduced default `PageSize` to 5 for better granularity.

Refactored `CommandFollowupMappings` and `UpdateFollowupHandler`
to use `ToUtc` extension methods for date conversions. Updated
`CaseController` to include `OrganizationId` from user claims.
Made namespace and import adjustments to support these changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants