public async Task<int> UpdateUserRoleAndStatus(CompetentAuthorityUser user, Role role, UserStatus status)
        {
            user.UpdateUserStatus(status.ToDomainEnumeration<Domain.User.UserStatus>());
            user.UpdateRole(role);

            return await context.SaveChangesAsync();
        }
        public async Task <int> UpdateUserRoleAndStatus(CompetentAuthorityUser user, Role role, UserStatus status)
        {
            user.UpdateUserStatus(status.ToDomainEnumeration <Domain.User.UserStatus>());
            user.UpdateRole(role);

            return(await context.SaveChangesAsync());
        }